Wednesday, October 14, 2015

Search pdfs

find . -name '*.pdf' -exec sh -c 'pdftotext "{}" - | grep --with-filename --label="{}" --color "maximum topography"' \;

1 comment:

  1. A more robust version is included in my bash tools on github...

    https://github.com/equant/my_bash_tools

    ReplyDelete