Sample Header Ad - 728x90

Finding number of occurences of a word in a PDF file

-1 votes
2 answers
188 views
Inside a folder there are plenty of subfolders and inside the subfolders there are plenty of PDF files. Looks like below:
+- SubfolderA
|  +- File1.pdf
|  +- File2.pdf
|
+- SubfolderB
|  +- File3.pdf
|  +- File4.pdf
|  +- file5.pdf
|
+- SubfolderC
   +- File6.pdf
   +- File7.pdf
I would like to find the number of times a specific word e.g. keywordx occurs in these files. * *Preferably* ignoring to show the files that have 0 hits. * And *ideally* showing the list sorted, with the max number of hits file displayed first.
Asked by Ronnie (29 rep)
Oct 30, 2024, 04:37 PM
Last activity: Nov 2, 2024, 04:48 PM