I want to rotate every odd page 180 degrees using pdfjam.
I do not want to use pdftk, as in this question. The command seems to be pdf180 (for pdfjam before version 3.02), but the selection does not seem to take rules like odd/even pages. Also, if I skip pages, the new document does not include them. Thus, the command
pdf180 file.pdf 1,3,5,7,9 # for pdfjam < 3.02
pdfjam --angle 180 file.pdf 1,3,5,7,9 # for pdfjam >= 3.02
produces a file without pages 2, 4, 6, and 8.
Also, I have a large document, so I would like to save space when writing this. I cannot see anything useful in pdfjam --help.
How can I achieve this goal?
If a one-line command cannot produce this, I guess I could write a script, which produces $N$ number of rotated files, and then merge them.
pdfjaminstalled but nopdf180. It seems I won't be able to help. – bela83 Sep 09 '20 at 10:15pdfjamorpdf180I getpdfjam: This is pdfjam version 2.08.– luchonacho Sep 09 '20 at 15:20