pdfcpu

Logo

PDF tooling for Go and the command line.

View the Project on GitHub pdfcpu/pdfcpu


Changelog
Future Directions

Remove Bookmarks

This command removes all bookmarks.

Have a look at some examples.

Usage

pdfcpu bookmarks remove inFile [ outFile ] [flags]

Common Flags


Arguments

namedescriptionrequired
inFilePDF input file, use - to read from stdinyes
outFilePDF output file, use - to write to stdoutno

Examples

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