pdftk

pdftk

TLDR

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]
copy

Merge (concatenate) a list of PDF files and save the result as another one

>_ pdftk [file1.pdf file2.pdf …] cat output [output.pdf]
copy

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]
copy

Rotate all pages by 180 degrees clockwise

>_ pdftk [input.pdf] cat [1-endsouth] output [output.pdf]
copy

Rotate third page by 90 degrees clockwise and leave others unchanged

>_ pdftk [input.pdf] cat [1-2 3east 4-end] output [output.pdf]
copy

Copied to clipboard
free 100$ digital ocean credit