I am trying to find any default tool in OS X by which you can see in Terminal the encodinf of a pdf file.
You can do this visually by clicking info on the file.
For instance, such files which have Mac OS X 10.10.2 Quartz PDFContext I want to get out of my System. So my task is actually find those files and then find original ones and convert them correctly to right encoding via LaTeX.
Outputs of the commands in answers
mdls in fd0's answer
mdls -name kMDItemEncodingApplications -raw OxfordDictionary.pdf
( "3-Heights(TM) PDF Producer 22.214.171.124 (http://www.pdf-tools.com); modified using iTextSharp 5.0.0 (c) 1T3XT BVBA"
brew install Caskroom/cask/pdfinfo wants sudo so I had to reject it in my current settings. The
mdls seems to work sufficiently.
How can you see the encoding of pdf-file in OS X Terminal?