Carving and Merging Multiple PDF Documents – Pdftk

I had a few hundred PDF documents and I wanted to take the first page of each PDF and put them into 1 single PDF document.

Enter: Pdftk – The PDF Toolkit

Downloading the Zip file, and in the bin folder was pdftk.exe and libiconv2.dll. Running the pdftk.exe via the command line fired it up into action.

pdftk A=one.pdf B=two.pdf cat A1 B1 output combined.pdf

I done some command line trickery with dir > outputlist to get a single pdftk command with all the documents.
Other Examples of pdftk can be found at: http://www.pdflabs.com/docs/pdftk-cli-examples/

This entry was posted in IT and tagged , , . Bookmark the permalink.