Extract multiple sections of pages from a pdf

1

I have a ton of pdf files (past exams), of which only two sections of pages (about 8 pages each) are relevant to me. I'd like to extract the two sections into a separate file for each of them.

I used Adobe to extract the two sections into individual new files, then copied one over into the other. This is time consuming however, as Adobe does not allow me to extract, for example, pages 2-9 and 22-30 at once into the one file. Is there a better way to do this? I'm on OS X Yosemite 10.10.3.

Thanks.

deusy

Posted 2015-10-12T07:20:00.170

Reputation: 111

2Please [edit] your question to include your operating system. This will allow you to get more focussed answers. – DavidPostill – 2015-10-12T07:44:32.833

Answers

0

You can use a lot of tools, included pdftk

pdftk A=Original.pdf  cat A2-9 A22-30 output Extracted.pdf

It was born for Linux but it exists for Windows too.

Hastur

Posted 2015-10-12T07:20:00.170

Reputation: 15 043

0

You might look at the Aerialist plug-in, now maintained and sold by Debenu.

If you have a way to programmatically find the sections you want to export (for example using titles), it would also be possible to assemble an Action (using the Action wizard), where the main work would be done by an according JavaScript.

Max Wyss

Posted 2015-10-12T07:20:00.170

Reputation: 1 481

Yes, the sections have a title at the beginning and end. Would it be possible to do what you're referring to through Automator? (I'm on OS X.) – deusy – 2015-10-12T10:36:28.057

Automator as alternative to an Acrobat Action, yes. But it would still need Acrobat, in order to find the titles, as well as for properly extracting the pages. – Max Wyss – 2015-10-12T13:32:58.177

-1

If you are a Windows user, there is a software called doPDF. When you install the software, it gets listed as a printer driver in your machine, with the exception that it prints to a pdf file. So, when you want to extract some pages of a pdf, do the following:

  1. Open the pdf file in adobe reader
  2. Click the print option
  3. Select dopdf as the printer (provided its already installed)
  4. Mention the exact page numbers you want to print
  5. Click done
  6. When dopdf launches, provide a name for the new file and the location where its has to be saved.
  7. When you click done, you will have a new file created with exactly the pages you need.

Hope that helps.

Mrinmoy Bhattacharjee

Posted 2015-10-12T07:20:00.170

Reputation: 1

1This process is called "refrying", and it may mess up more than it actually helps. In particular, it destroys all metadata and structure information. – Max Wyss – 2015-10-12T08:43:24.787