PDFgrep text search (CLI)
Posted: Thu Oct 05, 2017 8:45 am
PDFgrep (CLI utility) ...alternative to firing up cumbersome Acrobat/Foxit...
Nifty utility to swiftly Search text inside PDF file(s); Works much like grep, except it operates on pages instead of lines.
Simple usage:
PDFgrep file searchstring
Can also search inside a bunch of pdf files at once:
PDFgrep -r --include *.pdf searchstring
Can even return the relevant page number hit
PDFgrep -r --include *.pdf searchstring -n
Binary distro package (1.7MB) comes complete with man page, usage examples, changelog.
Developer's site (includes additional PDF-related tools, besides PDFgrep)
http://soft.rubypdf.com/software/pdfgre ... ws-version
PDFgrep Win-32 binary:
http://soft.rubypdf.com/download/pdfgre ... -win32.zip
Tested under WinXP and Win7.
Recommended.
Nifty utility to swiftly Search text inside PDF file(s); Works much like grep, except it operates on pages instead of lines.
Simple usage:
PDFgrep file searchstring
Can also search inside a bunch of pdf files at once:
PDFgrep -r --include *.pdf searchstring
Can even return the relevant page number hit
PDFgrep -r --include *.pdf searchstring -n
Binary distro package (1.7MB) comes complete with man page, usage examples, changelog.
Developer's site (includes additional PDF-related tools, besides PDFgrep)
http://soft.rubypdf.com/software/pdfgre ... ws-version
PDFgrep Win-32 binary:
http://soft.rubypdf.com/download/pdfgre ... -win32.zip
Tested under WinXP and Win7.
Recommended.