Finding annotated PDFs

Using find and grep, you can look for PDFs that are annotated (searches recursively from the current directory).

find . -name '*.pdf' -exec grep -E '(Annot /T)|(/Name /Comment)' {} +

Neat huh.

Advertisements