PdfTk | Extract PDF page range
Last update
2019-01-15
2019-01-15
« — »
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # extract pages from 1 to 10: pdftk in.pdf cat 1-10 output out.pdf # extract range 1-10 and pages 15, 20: pdftk in.pdf cat 1-10 15 20 output out.pdf # extract pages from page 2 till the end: pdftk in.pdf cat 2-end output out.pdf # extract all pages except the last one pdftk in.pdf cat ~end output out.pdf # extract all pages except the last 3 (reverse range) pdftk in.pdf cat ~r3-r1 output out.pdf # extract range from multiple documents: pdftk A=in1.pdf B=in2.pdf cat A1-10 B1-3 output out.pdf |
Source: PDFtk homepage