Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 11, 2016, 12:07:17 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: delete specific page range in a bunch of pdf files  (Read 984 times)

kalos

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,477
    • View Profile
    • Donate to Member
delete specific page range in a bunch of pdf files
« on: January 26, 2012, 08:01:36 AM »
hello!

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

any way to do that easily?

thanks!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,669
    • View Profile
    • Donate to Member
Re: delete specific page range in a bunch of pdf files
« Reply #1 on: January 26, 2012, 11:17:14 AM »
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

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 1,477
    • View Profile
    • Donate to Member
Re: delete specific page range in a bunch of pdf files
« Reply #2 on: January 26, 2012, 01:58:51 PM »
excellent thanks!