Remove pages in a pdf file using terminal (in Ubuntu)

Post date: Jun 10, 2012 8:45:17 AM

Here is the example of the code to keep only pages 1-9 and 26-end of the original file myDocument.pdf and save them to removedPages.pdf.:

pdftk myDocument.pdf cat 1-9 26-end output removedPages.pdf

More details about how to add, split pdf files can be found on this url.