= pdfjoin script =

{{{#!highlight bash
#!/bin/bash
#
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf...

}}}

Using pdftk:

{{{#!highlight bash
pdftk doc1.pdf doc2.pdf ... cat output merged.pdf
}}}