Using pdftk to copy n-firsts pages from a PDF

Do you know PDFTK? No? You need to know it!

PDFTK is a nice toool to handle PDF files, to know more read this article:
http://www.linux.com/learn/tutorials/442414-manipulating-pdfs-with-the-pdf-toolkit

If you just want to copy first 100 pages just do that:

$ pdftk A=MyPDF.pdf cat A1-100 output first100pages.pdf

A1-100 means pages 1 up to 100.

Very easy!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s