Remove Pages
This command removes all selected pages from a PDF file.Have a look at some examples.
Usage
pdfcpu pages remove [-v(erbose)|vv] -pages pageSelection [-upw userpw] [-opw ownerpw] inFile [outFile]
Flags
name | description | required |
---|---|---|
verbose | turn on logging | no |
vv | verbose logging | no |
pages | page selection | yes |
upw | user password | no |
opw | owner password | no |
Arguments
name | description | required |
---|---|---|
inFile | PDF input file | yes |
outFile… | PDF output file | no |
Examples
Remove pages 1-3 and 5 from notes.pdf
:
pdfcpu pag rem -pages 1-3,5 notes.pdf
removing pages from notes.pdf ...
writing notes_new.pdf ...