Merge pdf files into one ubuntu

Merge pdf files into one ubuntu

If you want a tool with a simple GUI, try pdfshuffler. It allows for merging of PDFs as well as rearranging and deleting pages. For batch processing and/or more complicated tasks, pdftk is of course more powerful.

I tried using it in my Ubuntu 14.04, doesn’t work for me, which just gives the following alert box when I tried to export.
pdfshuffler err

But I tried pdftk command line tool, which works perfectly. Here you go…

You can install it by opening terminal and typing:

[code language=”bash”]sudo apt-get install pdftk[/code]

Now you can merge pdf files by putting them in the same directory and typing:

[code language=”bash”]pdftk file1.pdf file2.pdf file3.pdf cat output merged.pdf[/code]

or if you wish to merge files in alphabetical order you can simply type:

[code language=”bash”]pdftk *.pdf cat output merged.pdf[/code]

Don’t forget to add in comments if above method work or doesn’t work for you.

Add a Comment

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