Link

Useful Tips

  1. PDF Manipulation (CLI)

PDF Manipulation (CLI)

Split out a subset of pages:

qpdf --pages input.pdf 1-3,5 -- input.pdf out.pdf

Concatenate PDFs:

qpdf --empty --pages in1.pdf in2.pdf -- out.pdf

Concatenate PDFs using wildcards:

qpdf --empty --pages *.pdf -- out.pdf

Source: Ask Ubuntu, Stack Overflow