pdftk

Installing

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

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.