CSUF LogoCSUF Site Navigation

F12 Drawing & Image Manipulation Programs AccessPDF pdftk

Department of Electrical and Computer Engineering
Associate Professor Gregory R. Kriehn
F12 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.

pdftk used to be available in the Fedora repository, but it was removed due to a license issue that prevented it from being used in nuclear facilities... ...don't ask. But the Fedora 7 SRPM is still available, so I decided to recompile it for Fedora 9.  It is now available in the kriehn repo, meaning 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.