thx, is a very good hint. qpdf test.pdf --pages test.pdf r1,1-r2 -- outfile.pdf
regards, Marko Am 24.11.19 um 12:48 schrieb Ralph Corderoy:
Hi Marko,If you're using -Tpdf then qpdf(1) can also re-arrange page order and has r3 for the third-from-end page, and z for the last page.qpdf test.pdf --pages test.pdf z,1-3 -- outfile.pdfThat `3' can be `r2' so it doesn't need altering as the number of pages in test.pdf change. It only needs adjusting if the table of contents exceeds one page.
