Combine pdf’s on Ubuntu

With pdf-files being the standard for sharing and exchanging documents on the internet and between computers, here follows a simple solution that will both trim down the size of your singe page or multiple page pdf-presentations; but also let you combine serveral pdf-files into one file with serveral pages.

1) Open a terminal and install “sudo apt-get install gs pdftk”.
2) Navigate to the place where you have placed the originals using terminal.
3) Type “gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=outputfile.pdf -dBATCH inputfile1.pdf inputfile2.pdf inputfile3.pdf” and hit enter

You can of course rename the files as you please. Good luck and thanks to the Debian admin!

In case you are moving from scanned papers saved as tif-files, the easiest way to get them into pdf-format would be using “mogrify -format pdf *.tif”. However, you might get a somewhat blurry quality. But perfectly acceptable (for me) for boring papers and contracts.