PDF Tricks

How to rotate PDF files and other tricks

Rotate all pages clockwise

pdftk inputfile.pdf cat 1-endE output outputfile.pdf

Rotate all pages by 180 degrees

pdftk inputfile.pdf cat 1-endS output outputfile.pdf

Combine multiple PDFs into one document

pdftk pdf1.pdf pdf2.pdf pdf3.pdf cat output combined.pdf

Combine even and odd pages into one document

pdftk A=even.pdf B=odd.pdf shuffle A B output combined.pdf