Quickly combine pdf files in 2 easy steps:

1. Install required packages

apt-get install gs<del> pdftk</del>

2. Combine 1.pdf and 2.pdf into out.pdf

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=out.pdf -dBATCH 1.pdf 2.pdf

Comments:

Adi -

So.. at which point did you use pdftk? :)


len -

@adi -sDEVICE=pdfwrite :)


Adi -

Actually, pdfwrite is part of gs


len -

You are right, I stand corrected :)


Adi -

Also -sOUTPUTFILE=out.pdf should actually be -sOutputFile=out.pdf