## Remove annotations from a pdf

I lost track of where I found this online and had to dig it out of my bash history:

perl -pi -e 's:/Annots $[^]]+$::g' input-and-output.pdf


Tags: , , , , ,