mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
700 B
Plaintext
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}}`
|