Files
cheatsheet-tldr/tldr/pdfseparate

22 lines
700 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`