pdfgrep allows to search text in PDF files using the same syntax as grep.

pdfgrep [<options>] <pattern> <file>

Options are similar to grep:

  • -i: case insensitive.
  • -r: recursive (look for all PDFs inside a folder).
  • --help: get information about all the options.