<div dir="ltr"><br>pdftk A=doc-a.pdf B=doc-b.pdf cat `for (( i=1; i <= 100; i=i+1 )); do printf "A%d B1 " $i; done` output combined.pdf<br><br>Beautiful! It worked like a charm. You have saved me hours of dealing with jammed paper! If ever I am in Boston and you need your house painted...<br>
<br>
<br><br><div class="gmail_quote">On Fri, Oct 17, 2008 at 2:54 AM, Dylan Thurston <span dir="ltr"><<a href="mailto:dpt@math.columbia.edu" target="_blank">dpt@math.columbia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Thu, Oct 16, 2008 at 03:06:28PM -0500, Karl Sokol wrote:<br>
> Thanks. I have been having fun with pdftk. However, I am still a little green<br>
> to even basic command line commands.<br>
><br>
> doc-a.pdf has 100 pages. doc-b.pdf has 1 page. I want the combined document to<br>
> look like a1,b1,a2,b1,a3,b1,a4,b1... In other words, combined.pdf should be<br>
> 200 pages long.<br>
><br>
> I am sure this is basic, but I can't find an example of this in man files or<br>
> online tutorials.<br>
<br>
</div>It doesn't look like this is standard, but it's easy to simulate:<br>
<br>
pdftk A=doc-a.pdf B=doc-b.pdf cat `for (( i=1; i <= 100; i=i+1 )); do printf "A%d B1 " $i; done`<br>
<div><div></div><div><br>
Peace,<br>
Dylan<br>
_______________________________________________<br>
Linux-disciples mailing list<br>
<a href="mailto:Linux-disciples@lists.bostoncoop.net" target="_blank">Linux-disciples@lists.bostoncoop.net</a><br>
<a href="http://lists.bostoncoop.net/mailman/listinfo/linux-disciples" target="_blank">http://lists.bostoncoop.net/mailman/listinfo/linux-disciples</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Grace and Peace,<br><br>Rev. Karl Sokol<br>Franklin Grove UMC<br>211 N. Spring<br>Franklin Grove, IL 61031<br><br>FranklinGroveUMC.com <br><br>"Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth".<br>
-- John Wesley<br><br>
</div>