List/Search all existing UTIs (Uniform Type Identifiers)
Asked Answered
N

3

12

Is it possible to find a list of all existing Uniform Type Identifiers on a system?

Noblesse answered 23/9, 2012 at 16:48 Comment(0)
T
14

How about

 /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump

Even better: A Graph of all Universal Type Identifiers - Kevin Ballard's Blog

Thorium answered 24/9, 2012 at 5:35 Comment(2)
Just the UTIs: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep '[[:space:]]uti:' | awk '{ print $2 }' | sort | uniqDressingdown
sadly command above no longer produces any output in latest macOS in 2024.Irretentive
R
7

You can build your own graph with UTIsExplorer https://github.com/nst/UTIsExplorer

The project includes a graph of all UTIs on my machine: http://seriot.ch/resources/utis_graph/utis_graph.pdf

Reubenreuchlin answered 22/5, 2013 at 13:54 Comment(0)
D
2

Full list of UTI types is available here https://developer.apple.com/library/archive/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1

Disorder answered 29/11, 2020 at 11:27 Comment(1)
This list seems to be missing a lot. Eg, CSV: public.comma-separated-values-textUnsearchable

© 2022 - 2024 — McMap. All rights reserved.