CSUF LogoCSUF Site Navigation
optics.csufresno.edu

F8 Drawing & Image Manipulation Programs AccessPDF pdftk

Department of Electrical and Computer Engineering
Assistant Professor Gregory R. Kriehn
Forums
Wiki
F8 AccessPDF pdftk

pdftk is a nifty little tool kit for Adobe PDF documents that decrypt, encrypt, join, remove pages, uncompress, repair, burst, and rotate .pdf files. I use it simply to rotate documents by 90 or 180 degrees from time to time.  It is available via yum:
~> sudo yum install pdftk
Press 'y' when prompted to install the programs and any additional dependencies. After it is installed, source your ~/.bashrc file:
~> source ~/.bashrc
You are now ready to use pdftk. If you need help with the syntax, type:
~> pdftk --help
Rotating an entire PDF document to 180 degrees, for example, can be done with the following command:
~> pdftk [input].pdf cat 1-endS output [output].pdf
As an application to quickly tweak PDF documents, I find it to be very useful.