« Something to look forward to... | Main | Notes on Scratchpads »

April 04, 2011

Combining pdfs with on Ubuntu

O'Reilly nails this one:

To combine pages into one document, invoke pdftk like so:

pdftk < input PDF files> cat [< input PDF pages>] output < output PDF filename>

A couple of quick examples give you the flavor of it. Here is an example of combining the first page of in2.pdf, the even pages in in1.pdf, and then the odd pages of in1.pdf to create a new PDF named out.pdf:

pdftk A=in1.pdf B=in2.pdf cat B1 A1-endeven A1-endodd output out.pdf

My usage:

$ pdftk A=Desktop/ebb-flow-march-2011-receipt.pdf B=payhub-claim-2010_page3.pdf cat A1 B1 output Desktop/darling_rocks.pdf

Posted by kkwaiser at April 4, 2011 12:28 PM

Trackback Pings

TrackBack URL for this entry:

Listed below are links to weblogs that reference Combining pdfs with on Ubuntu:

» Woolrich Outlet Online from Woolrich Outlet Online
piazzando un gran sorpasso ai danni di Hamilton [Read More]

Tracked on February 17, 2014 04:05 PM

» moncler from moncler
tra la fine del Ramadan e quella degli scontri [Read More]

Tracked on February 17, 2014 05:07 PM


Login to leave a comment. Create a new account.