
A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
This command removes all selected pages from a PDF file. Have a look at some examples.
pdfcpu pages remove inFile [ outFile ] [flags]
| name | description | required |
|---|---|---|
| p(ages) | selected pages | yes |
| name | description | required |
|---|---|---|
| inFile | PDF input file | yes |
| outFile… | PDF output file | no |
Remove pages 1-3 and 5 from notes.pdf:
$ pdfcpu pages remove notes.pdf --pages 1-3,5
removing pages from notes.pdf ...
writing notes_new.pdf ...