tldr/pages/common/pdfseparate.md

17 lines
607 B
Markdown

# pdfseparate
> Portable Document Format (PDF) file page extractor.
> More information: <https://manpages.debian.org/latest/poppler-utils/pdfseparate.1.en.html>.
- Extract pages from PDF file and make a separate PDF file for each page:
`pdfseparate {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`
- Specify the first/start page for extraction:
`pdfseparate -f {{3}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`
- Specify the last page for extraction:
`pdfseparate -l {{10}} {{path/to/source_filename.pdf}} {{path/to/destination_filename-%d.pdf}}`