I want to be able to get the file type (or file kind) of any file on my mac. This could be a bundle, a file with or without extension. There are a lot of ways using UTType but that relay on knowing the path extension which is not what I want.
How to I get the exact file type description string that is displayed in thr Finder Info for a file but programmatically using Objective-C?
Example:
"/bin/echo" ==> "Unix executable"
Thanks in advance.
