Remove pages from PDF

DESCRIPTION
	If  PDF is electronic paper, then pdftk is an electronic staple-re‐
	mover, hole-punch, binder, secret-decoder-ring, and  X-Ray-glasses.
	Pdftk  is  a  simple  tool for doing everyday things with PDF docu‐
	ments.  Use it to:

	* Merge PDF Documents or Collate PDF Page Scans
	* Split PDF Pages into a New Document
	* Rotate PDF Documents or Pages
	* Decrypt Input as Necessary (Password Required)
	* Encrypt Output as Desired
	* Fill PDF Forms with X/FDF Data and/or Flatten Forms
	* Generate FDF Data Stencils from PDF Forms
	* Apply a Background Watermark or a Foreground Stamp
	* Report PDF Metrics, Bookmarks and Metadata
	* Add/Update PDF Metrics, Bookmarks or Metadata
	* Attach Files to PDF Pages or the PDF Document
	* Unpack PDF Attachments
	* Burst a PDF Document into Single Pages
	* Uncompress and Re-Compress Page Streams
	* Repair Corrupted PDF (Where Possible)

To remove pages use the following command:

pdftk $FILE cat 1-12 17-end output output.pdf

1-12 17-end are the pages to keep from the original file.
Note that the output file name has to differ from the original.