FG
💻 Software

How to get a file's UTI from the command line in Mac OS X?

Fresh7 days ago
Mar 15, 20269341 views
Confidence Score0%
0%

Problem

Is there a command line utility to which I can pass a filename, that will return applicable UTIs for that file? For example: might give me:

Error Output

hypothetical-uti-fetcher /Library/Desktop\ Pictures/Aqua\ Blue.jpg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to get a file's UTI from the command line in Mac OS X?

Low Risk

You can use the command to find the UTI for a file: and it will give you a bunch of info, toward the top it will say something like Hope this helps!

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment