I wrote a command that successfully returns all PDF files that contain the keyword "Font":
find /my/path/PDFFiles/ -type f -name "*.pdf" -exec grep -H "Font" '{}' ';'
There are some limitations with this command that I'd like to overcome.
Questions
- How would I use a RegEx for my search string where I am currently doing just "Font"
- How can I adjust the command above to return all filenames where the keyword "Font" does not exist?
Thanks