ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

delete specific page range in a bunch of pdf files

(1/1)

kalos:
hello!

I need to delete a specific range in a series of pdf files

any way to do that easily?

thanks!

skwire:
You can easily do this on the commandline with the PDF Toolkit (love this software).  Example:


--- ---pdftk.exe A=test.pdf cat A1 A20-end output out.pdf
          ---------- --- ---------- ------ -------
              |       |      |         |      |
              |       |      |         |      -> Output filename.
              |       |      |         |
              |       |      |         -> "output" switch.
              |       |      |
              |       |      -> Page range to include in output.  This
              |       |         will catenate page 1 and pages 20 up
              |       |         to the end of the doc, effectively
              |       |         deleting pages 2 through 19.
              |       |
              |       -> "cat" switch.
              |
              -> Sets the "A" variable to your input PDF file
                 for use when specifying the page range.

kalos:
excellent thanks!

 

Navigation

[0] Message Index

Go to full version