How could I search the contents of PDF files in a directory/subdirectory? I am looking for some command line tools. It seems that grep
can\'t search PDF files.<
You need some tools like pdf2text to first convert your pdf to a text file and then search inside the text. (You will probably miss some information or symbols).
If you are using a programming language there are probably pdf libraries written for this purpose. e.g. http://search.cpan.org/dist/CAM-PDF/ for Perl