BASH PDF

From Indie IT Wiki

Install PDFTK To Manipulate PDF Files

sudo apt-get install pdftk

Extract A Single Page From A PDF

pdftk ~/path/to/big.pdf cat 1 output /tmp/page1.pdf

Extract All Pages Individually From A PDF

pdftk ~/path/to/big.pdf burst