Problem

Merge (join) several PDF files into a single one.

Analysis

You need a GhostScript package.

Solution

Execute the following command:

$ gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf

finished.pdf is the resulting file. You might add as many files as you need (file1.pdf, file2.pdf, etc.).

References

  1. Putting together PDF files. http://www.linux.com/feature/36815
Joining multiple PDF files into a single PDF in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *