BASH PDF

From Indie IT Wiki
Revision as of 13:19, 22 March 2016 by imported>Indieit
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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