I need to find LaTeX Generated PDF files because I want to find those files made by me. I think find could possibly work here. OS X El-CapitanI run Ulrich's proposal find BitTorrentSync/ -exec pdfinfo {} + |grep pdftex but I getfind: pdfinfo: No such file or directoryfind: pdfinfo: No such file or directory...where the problem is that I do not have pdfinfo yet in my system. L.Levrel's proposal. I run gfind -name '*.pdf' | gxargs ggrep -al '^/Producer (pdfTeX' where I use GNU's products but I get in OS X El-Capitangxargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 optionggrep: cademic: invalid context length argumentUbuntu 16.04I cannot run Ulrich's proposal because of the bug here.L.Levrel's first proposal does not work but it works with xargs -0find -name '*.pdf' | xargs -0 grep -al '^/Producer (pdfTeX'How can you find LaTeX generated PDF files?
How to Find LaTeX generated PDF files?
ubuntu;find;osx;latex
Based on L.Levrel response, using the tools supplied in OS X (this should also work in Ubuntu).find . -type f -name '*.pdf' -exec grep -alE '/Producer \(pdfTeX|/Producer\(pdfTeX' {} +