Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to reverse page order of PDF using PDFTK

📅 2012-May-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

PDFTK can be used to reverse the order of pages in a PDF file.

To install PDFTK, please follow the instructions here. To reverse the 20 pages of a PDF file named in.pdf and write to out.pdf:

$ pdftk in.pdf cat 20-1 output out.pdf

Tried with: PDFTK 1.41