Pages

How to search for a word in multiple PDF files in Linux

How to grep for a particular word in a PDF file?
Is it possible to use grep in pdf file?
How to use grep in pdf file?
Is there any command like grep to use in pdf files?

A simple solution exits. For all these questions, the answer is pdfgrep package.
There is a GitLab repository to do exactly this.

pdfgrep -R 'pattern' /path/of/the/pdf/file(s)

More on this:

See in more answers in StackOverflow 
Download the source from Gitlab 



No comments:

Post a Comment

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...