Skip to content
Published On:
Apr 16, 2014
Last Updated:
Apr 16, 2014

Installing

pdftk can be installed with the following command on Debian-like systems (e.g. Ubuntu):

Terminal window
$ sudo apt-get install pdftk

Reversing Pages

The following example command reverses some of the pages in the pdf in.pdf. It has over 9 pages, and reverses the direction of pages 3-8.

Terminal window
$ pdftk in.pdf cat 1-2 8-3 9-end output out.pdf