Grep text in PDF’s using pdftotext
If you ever need to grep some specific tags in a bunch of pdf files, you can use the following one liner, e.g:
for FILE in $(find /home/user/Desktop/downloads/ -name "*.pdf" 2>/dev/null -mtime -1 \! -type d -exec ls {} \;); do pdftotext $FILE - | grep -o 'BZ [0-9]\{5\}';done

