A collection of useful bits of information. Mostly for my own use, but feel free to help yourself to a tidbit if you're hungry.
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH \ -sDEVICE=pdfwrite -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf
pdftk in1.pdf in2.pdf in3.pdf cat output out.pdf