I found this when looking for a way to combine multiple PDF documents into one. You just need to
sudo apt-get install gs pdftk
- gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
Afterthoughts glow afterwards
sudo apt-get install gs pdftk