3 ms·
Spotlight on the Mac has done this for like 15 years. You can search for files by content and metadata attributes[0]. You can even create "smart folders" that s
by giantrobot 4y ago
Spotlight on the Mac has done this for like 15 years. You can search for files by content and metadata attributes[0]. You can even create "smart folders" that save the search parameters and show an up to date instance of the search when opened. The Spotlight search is also exposed on the command line with the mdfind command.
Spotlight uses the LaunchServices database of file type associations to give friendly names to file types but has a hierarchy of type identifiers[1].
[0] https://support.apple.com/guide/mac-help/narrow-search-results-mh15155/mac https://support.apple.com/guide/mac-help/narrow-search-resul...
[1] https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html https://developer.apple.com/library/archive/documentation/Fi...