pdfgrep (for UNIX users)

When you would like to search all pdf documents under the particular directory (e.g. "~/pqr") for the pdf file containing the sequence "abcd", you should use the command pdfgrep on terminal.

0. Download and install pdfgrep. If you use Arch Linux, then you should type as follows.

$ sudo pacman -S pdfgrep
1. Move to the directory "pqr".
$ mv ~/pqr
2. Use pdfgrep.
$ pdfgrep -nHm 10 abcd ./*.pdf