Computer Scientist, Graduate Student, and Geek

Tag: pdf

Removing Pages from a PDF

February 03, 2011

pdftk - The PDF Toolking is a handy tool for removing pages from a PDF file (and many other manipulations). On major Linux distributions, in can be installed with yum or apt. To keep only a subset of pages from a PDF, execute a command similar to:

pdftk input.pdf cat 1-3 5-6 8-end output output.pdf

The above command creates a new PDF called output.pdf with pages 1-3, 5-6, and 8-end from the PDF input.pdf.

Categories: Linux

Tags: pdf