Search

Thursday 15 October 2009

Linux - join PDF files using ghostscript

Just open a bash window and use a command similar to the following, where finalfile.pdf is the resultant file you need and file1.pdf etc are the single pages you wish to join together.


gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finalfile.pdf file1.pdf file2.pdf file3.pdf

No comments:

Post a Comment