Are there any open source solution to remove all the comments/annotations from PDF files using command line?

I searched around, and it seems that there are solutions with commercial software, e.g. , by javascripting Acrobat Pro. The non-free cpdf also has a command line option:

The -remove-annotations operation removes all annotations from the given page range.

But I couldn't find such an option for open source tools such as pdftk. Any pointers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.