Rotate PDFPosted: June 2, 2011
- Permanently rotate 1 page PDF document 90 degrees clockwise:
pdftk infile.pdf cat 1E output outfile.pdf
- Permanently rotate 1 page PDF document 90 degrees counterclockwise:
pdftk infile.pdf cat 1W output outfile.pdf
- rotate all files in directory by 180 and save them to subdirectory “rotated” with a new name.
mkdir rotated; for i in *.pdf; do echo $i; newname=”rotated/r_$i”; echo $newname; pdftk $i cat 1-endsouth output $newname; done