
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
This command removes all bookmarks.
Have a look at some examples.
pdfcpu bookmarks remove inFile [ outFile ] [flags]
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
| outFile | PDF output file, use - to write to stdout | no |
Remove all bookmarks:
$ pdfcpu bookmarks remove bookmarkSimple.pdf
$ pdfcpu bookmarks list bookmarkSimple.pdf
no bookmarks available
Remove bookmarks while reading the PDF from stdin:
$ aws s3 cp s3://acme-manuals/product-bookmarked.pdf - \
| pdfcpu bookmarks remove - - \
| aws s3 cp - s3://acme-manuals/product-flat.pdf