How to rotate a PDF from the command line using Ubuntu / Linux

You might want rotate an image from the command line using the command line in Ubuntu. This is really usefull if you are stripting pdf manipulations.

sudo apt-get install pdftk

Then

pdftk input.pdf cat 1east output output.pdf

Happy rotating.

Leave a Reply