$ curl cheat.sh/
 cheat:pdftk 
# To concatenate all pdf files into one:
pdftk *.pdf cat output all.pdf

# To concatenate specific pdf files into one:
pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf

# To concatenate pages 1 to 5 of first.pdf with page 3 of second.pdf:
pdftk A=fist.pdf B=second.pdf cat A1-5 B3 output new.pdf

# To extract pages 2 to 3 from a file:
pdftk file.pdf cat 2-3 output file_with_page_2_and_3.pdf

 tldr:pdftk 
# pdftk
# PDF toolkit.
# More information: <https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit>.

# Extract pages 1-3, 5 and 6-10 from a PDF file and save them as another one:
pdftk input.pdf cat 1-3 5 6-10 output output.pdf

# Merge (concatenate) a list of PDF files and save the result as another one:
pdftk file1.pdf file2.pdf ... cat output output.pdf

# Split each page of a PDF file into a separate file, with a given filename output pattern:
pdftk input.pdf burst output out_%d.pdf

# Rotate all pages by 180 degrees clockwise:
pdftk input.pdf cat 1-endsouth output output.pdf

# Rotate third page by 90 degrees clockwise and leave others unchanged:
pdftk input.pdf cat 1-2 3east 4-end output output.pdf

$
Follow @igor_chubin cheat.sh