
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
This command removes previously added entries from a PDF portfolio. Have a look at some examples.
pdfcpu portfolio remove inFile [ file... ] [flags]
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
| file… | one or more entries to be removed | no |
Remove a specific entry from portfolio.pdf:
$ pdfcpu portfolio remove portfolio.pdf pdfcpu.zip
writing portfolio.pdf ...
Remove all portfolio entries:
$ pdfcpu portfolio remove portfolio.pdf
writing portfolio.pdf ...
Remove a portfolio entry while reading the PDF from stdin:
$ cat package-with-contract.pdf \
| pdfcpu portfolio remove - contract.pdf > package-without-contract.pdf