News:

2023-08-10 - ExifTool version 12.65 released

Main Menu

File Type output

Started by GamleBardun, March 25, 2015, 02:18:55 AM

Previous topic - Next topic

GamleBardun

Thanks for a really great tool !
Is it possible to extract a list of all possible values returned for "File Type" ?
Right now I'm using exiftool to identify unknown extensions for embedded email attachments, and for now simply use the File Type (if found) as extension - but some of the output is a bit "off".. two spaced words and other issues . If I knew the possible values I could build a translation table.

Kind regards
Ketil

Phil Harvey

Hi Ketil,

Sorry, but what you ask is not possible since some file types are generated dynamically.  However, I may be able to generate a list of all pre-defined file types, but this would have to wait until I am home next week.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).