search in pdf code example Example: search in pdfs find /path -iname '*.pdf' -exec pdfgrep pattern {} +