Merge PDF Files on CentOS

Install EPEL YUM Repository

Get EPEL YUM Repository installed on the machine if you don’t already have it. The package you require is in EPEL repository. You can check if the repository is installed using “yum repolist”

Click here for instructions on installing EPEL YUM Repository

Install PDFjam

You need to install PDFjam using the following YUM command:

yum install pdfjam

Usage

The tool to merge PDFs in PDFjam is called “pdfjoin”. It’s usage is pretty simple. Give all the PDF files you want to merge in the arguments like so:

pdfjoin file1.pdf file2.pdf file3.pdf

The merged pdf will automatically be created as file3-joined.pdf. Simple and quick.

Think about doing this using a PDF editor. Command line rocks!

Source: http://stackoverflow.com/questions/2507766/merge-convert-multiple-pdf-files-into-one-pdf/16089424