Joining PDF files into one

PDF Toolkit pdftk allows joining PDFs simply. let’s say you have three PDF files named one.pdf two.pdf three.pdf. Then type in Terminal:

pdftk one.pdf two.pdf three.pdf cat output joined.pdf

which will join them into the file joined.pdf.

pdftk –help will show you the many other things you can do with pdftk.

Extracting a page from PDF

If you don’t have Adobe Acrobat (the paid software) and you need to extract a page(s) from a PDF file, one easy way to do so is with the free software GhostScript. If you’re on Linux, you probably have GhostScript already. If you’re on Windows, try downloading GhostScript from:

Here is the command to extract page(s) from a PDF file using GhostScript:

gs -sDEVICE=pdfwrite -dFirstPage=2 -dLastPage=2 -dNOPAUSE -dSAFER -dBATCH -sOutputFile=myPage.pdf myPDFfile.pdf

Here, I assumed that you wanted only page 2, and your input (multi-page) PDF file was named “myPDFfile.pdf”

NOTE: All the options are CASE-SENSITIVE and WILL NOT work if they’re not capitalized just as shown. You can find an explanation for these options at: