Also keep in mind that you don't need to know the page count in order to remove the last page (at least for pdftk versions 1.45 and greater). You can use 1-r2 to indicate first to second to last pages. See pdftk documentation which says the following: You can reference page numbers in reverse order by prefixing them with the letter r. For example, page r1 is the last page of the document, r2 is the next-to-last page of the document, and rend is the first page of the document. You can use this prefix in ranges, too, for example r3-r1 is the last three pages of a PDF.–Oct 13 '15 at 14:12. I also want to reiterate what an incredible piece of kit this is!
How To Uninstall Pdftk Free
It is exceptionally easy to trim the first or last few pages (or anything else). Even the distribution of the software is perfection, which consists of a single static binary (for Linux 32, Linux 64, OSX, and Windows).
It includes great PDF documentation as well. I am surprised to have never encountered the software before, perhaps it is because it is not open source (only free for non-commercial use from what I understand).–Oct 13 '15 at 13:59.