At times, we need to combine multiple pdf file’s into one pdf file. However, instead of running to get a dedicated program to join the multiple pdf’s, here is a simple & fast way to do so.

Convert command can be used to merge multiple pdf’s into one. Convert command is a subset of the ‘ImageMagick’ suite of tools. So you’ll need to install it first from your distribution’s repository. On a Fedora/Red Hat system it can be done by;

#yum install ImageMagick

Once installed, simply open a terminal & navigate to the directory where you have the multiple pdf’s which need to be merged into one pdf. Once there issue;

$convert file1.pdf file2.pdf output.pdf

I created a calendar for the coming year & in all had 12 pdf’s for each month which I wanted to be merged into one. Hence, I issued the following;

$convert Jan.pdf Feb.pdf March.pdf April.pdf May.pdf June.pdf July.pdf August.pdf September.pdf October.pdf November.pdf December.pdf calendar.pdf

Here my output pdf file will be named ‘calendar.pdf’. Once you execute the above command, it will take sometime(depending on how big or small & how many pdf’s are) and once done it will return you to the prompt. Now your merged pdf file will be saved in the same folder by the name you gave in the command above.

That’s it! It’s so easy.