Linux Mint – Merge and extract pdf files

pdfunite merges several PDF (Portable Document Format) files in order of their occurrence on command line to one PDF result file.

pdfunite file1.pdf file2.pdf file3.pdf mergedPDFs.pdf

user@server:~$ ls -lh

  -rw-rw-r-- 1 user user 768k Mar 27 11:20 file1.pdf
  -rw-rw-r-- 1 user user 1,1M May 11 12:39 file2.pdf
  -rw-rw-r-- 1 user user  64k Jun 02 06:52 file3.pdf
  -rw-rw-r-- 1 user user 1,9M Nov 11 16:27 mergedPDFs.pdf

pdfseparate extract single pages from a Portable Document Format (PDF).

user@server:~$ pdfseparate -f 5 -l 10 manual.pdf extracted-%d.pdf

user@server:~$ ls -lh

  -rw-rw-r-- 1 user user 13,8M Sep 27 14:19 manual.pdf
  -rw-rw-r-- 1 user user  1,2M Nov 11 16:27 extracted-1.pdf
  -rw-rw-r-- 1 user user  1,9M Nov 11 16:27 extracted-2.pdf
  ...
  -rw-rw-r-- 1 user user  1,4M Nov 11 16:27 extracted-6.pdf