PDFGREP(1) Pdfgrep Manual PDFGREP(1) (NAME) pdfgrep - PDF (SYNOPSIS) pdfgrep [OPTION...] PATTERN FILE... pdfgrep [OPTION...] {-e PATTERN|-f FILE}... FILE... pdfgrep [OPTION...] -r|-R PATTERN [FILE|DIR...] pdfgrep [OPTION...] -r|-R {-e PATTERN|-f FILE}... [FILE|DIR...] (DESCRIPTION) FILE PDF PATTERN . PATTERN (extended regular expression) . pdfgrep GNU grep PDF . -n . (OPTIONS) (General Information) --help . -V, --version . (Pattern Interpretation) -F, --fixed-strings PATTERN . -P, --perl-regexp PATTERN (PCRE2) . pcre2syntax(3) . (Matching Control) -e PATTERN, --regexp=PATTERN PATTERN . --file . -f FILE, --file=FILE FILE . FILE -e . . -i, --ignore-case PATTERN . -c, --count . . grep . -p, --page-count -c . -n . --color WHEN . WHEN : always stdout . never . auto stdout ( ). -L, --files-without-match . . -Z -L -n -c . -l, --files-with-matches . . -Z -l -n -c . -m, --max-count NUM NUM . -c --count pdfgrep NUM . -o, --only-matching . -q, --quiet stdout . 0 . . -H, --with-filename . . -h, --no-filename . . -n, --page-number[=TYPE] . TYPE . : index PDF . . label PDF. PDF ( ). -Z, --null ( NUL ASCII '\0' C ) . . xargs -0 perl -0 . --match-prefix-separator SEP SEP . . --null . -A NUM, --after-context=NUM NUM . -- . -o . -B NUM, --before-context=NUM NUM . -- . -o . -C NUM, --context=NUM NUM . -- . -o . -r, --recursive ( --include --exclude) (symlinks) . -R, --dereference-recursive -r . --exclude=GLOB (base name) GLOB . glob(7) . . --include . include exclude --recursive . --include=GLOB GLOB . --exclude . *.[Pp][Dd][Ff] . (Other Options) --cache (cache) . --password=PASSWORD PASSWORD PDF. PDF . ps(1) . PASSWORD . --page-range=RANGE . RANGE PAGE1-PAGE2 . : 2-3,5,7-10. --debug (debug). : poppler 0.30.0 poppler --debug . --warn-empty stderr PDF . PDF . --unac (ligatures) PDF. <> PDF <> . unac(3) unaccent(1) . pdfgrep unac . 0 1 2 . --quiet -q pdfgrep 0 . (ENVIRONMENT VARIABLES) pdfgrep . GREP_COLORS . GREP_COLORS grep . grep(1) . mt ms mc fn ln se pdfgrep mt ms mc . (FILES) ${XDG_CACHE_HOME}/pdfgrep/* () --cache . . (EXAMPLES) pattern : pdfgrep -n --max-count 10 pattern foo.pdf .pdf foo : pdfgrep -r --include "foo*.pdf" pattern PDF foo bar : pdfgrep -Z --files-with-matches "bar" *.pdf | xargs -0 pdfgrep -H foo .pdf 12M : find . -name "*.pdf" -size -12M -print0 | xargs -0 pdfgrep pattern pdfgrep find(1) xargs(1) . pdfgrep . ! .pdf find . -name "*.pdf" -print0 | parallel -q0 pdfgrep -H foobar GNU parallel(1) find(1) . . (pdfgrep-users@pdfgrep.org) gitlab (https://gitlab.com/pdfgrep/pdfgrep/issues) . (AUTHORS) pdfgrep Hans-Peter Deifel . AUTHORS . (SEE ALSO) grep(1), pcre2(3), regex(7) git pdfgrep https://pdfgrep.org . Pdfgrep 2.1.2 03/15/2024 PDFGREP(1)