Combining pdf files in Linux/Unix
Just to show a few examples how to combine pdf files. Let us assume we have three pdf files and now we need to combine them:
- gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=finalcombinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
- joinpdf myfinalFile.pdf file1.pdf file2.pdf file3.pdf
- pdfmeld file1.pdf, file2.pdf, file3.pdf resultcombinedfile.pdf
Some of the other tools available for merging PDF files include pfdtk, Multivalent, and pdcat.
* Ghostscript – A popular tool for viewing Postscript and PDF documents
* joinPDF – A simple, yet effective, PDF merging tool
* pdfmeld – A powerful tool for combining PDF files
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.














Thanks for the info. This was really useful. I’m getting better at messing with the command line, and I have to say, I’m liking it.