I wanted to share this very easy, quick and efficient way to concatenate several PDF files into a single file – this is a recapitulation of racin's post found at Matthew Skala's home page:
sudo apt-get install pdftk cd <folder containing your pdf's> pdftk *.pdf cat output all.pdf
That's all folks!
The actual process took ca. 1 second. Make sure you have named your files so that they are merged in the right order, e.g. 01_file-for-page-1.pdf, 02_file-for-page-2.pdf, etc.
I never use smilies, but there are exceptions that prove the rule
Now playing: Libre.fm
Nice howto. Thanks Highlights the simplicity and power of linux.
While this was a four-years-dormant thread, I'll allow this necro-bump, as the utility mentioned is still relevant.
If anyone needs a GUI that performs similar functions, I can recommend pdfshuffler. pdftk is more efficient at the command line if you simply need to cat several PDFs into one, but I prefer pdfshuffler if I need to, for example, take bits and pieces of a couple PDFs and reorganize them into one document. (EDIT: One particular example is merging a schematic generated by gschem with a circuit board layout and BoM generated by pcb, plus a write-up about the circuit composed in a text editor or word processor.)
Last edited by pvsage (2014-02-04 23:22:21)
Yes; as a matter of fact, I am a cop. Why do you ask?
I'm a moderator here. How are we doing? Feedback is encouraged.