pdfseparate (1) Linux Manual Page
pdfseparate – Portable Document Format (PDF) page extractor
Synopsis
pdfseparate [options] PDF-file PDF-page-patternDescription
pdfseparate extract single pages from a Portable Document Format (PDF).pdfseparate reads the PDF file PDF-file, extracts one or more pages, and writes one PDF file for each page to PDF-page-pattern.
PDF-page-pattern should contain %d (or any variant respecting printf format), since %d is replaced by the page number.
- The PDF-file should not be encrypted.
Options
- -f number
- Specifies the first page to extract. If -f is omitted, extraction starts with page 1.
- -l number
- Specifies the last page to extract. If -l is omitted, extraction ends with the last page.
- -v
- Print copyright and version information.
- -h
- Print usage information. (-help and –help are equivalent.)
Example
pdfseparate sample.pdf sample-%d.pdf- extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces
- sample-1.pdf, sample-2.pdf, sample-3.pdf
