merge files for free pdf code example Example: pdftk merge pdf pdftk A=one.pdf B=two.pdf cat A1-7 B1-5 A8 output combined.pdf