How to Extract Pages from a PDF
(Redirected from Pdftk)
About
How do you extract pages from a PDF doc?
pdftk full-pdf.pdf cat 12-15 output outfile_p12-15.pdf
Usage Example to Extract Page 2-3 from a File Named 1.pdf
cd Desktop
sudo apt install pdftk
pdftk 1.pdf cat 2-3 output Hybrid_Inverter.pdf
More
Combine multiple PDFs:
$ pdftk 1.pdf 2.pdf 3.pdf 4.pdf 5.pdf 6.pdf 7.pdf 8.pdf 9.pdf 10.pdf 11.pdf 12.pdf 13.pdf 14.pdf 15.pdf cat output bigun.pdf
Notes
- I broke up a 1.1MB PDF into 2, recombined - and the result was 800k. Does the file compress iteratively, so doing this multiple times loses content? Good for making PDFs small.