I was looking for a way to extract two pages from a pdf. I could “print” the pdf and then export it to pdf again but I wanted a better way. Preferably something I could run from the commandline and could possibly automate.
pdftk so I tried that. Here I’m extracting pages 10 & 11 from a pdf:
sudo apt-get install pdftk pdftk full.pdf cat 10 11 output excerpt.pdf