Nerds rejoice – grep inside pdfs

Ever find yourself needing to grep a pdf or a directory of pdf files but regular grep just can’t deal?

Fear not my friends – pdfgrep is here. 

There are Linux and Windows versions available.

Lets say I’m searching inside all the pdfs nested under the current folder/directory for the word “replacement”, I issue the following at the command line:

pdfgrep –irn replacement

This will output the file name, page number and document name of the occurrences of the word.

Pretty neat eh?

As always issuing the following below gives you all the possible command switches.

pdfgrep –help