Rotate pdf pages from command line.
Here is an example for rotating page 1 to page 3 by 90 degrees clockwise.
$ rotatepdf.py --src src.pdf --dst dst.pdf --rotate-right 1-3
It's also possible to rotate in multiple ways in one go.
$ rotatepdf.py --src src.pdf --dst dst.pdf --rotate-right 1-3 --rotate-180 4-10
$ pip install -e git://github.com/AndreMiras/rotatepdf.git#egg=rotatepdf