You can install utitool using Brew. In Terminal, just run:
brew tap smittytone/homebrew-smittytone
brew install --cask utitool
Alternatively, click the file link below to download utitool.
Please verify the integrity of the download with the SHA-256 checksum.
File Name | utitool_1_1_0.dmg |
---|---|
File Size | 89KB |
utitool is a macOS command line tool to help you discover files’ Uniform Type Identifiers (UTIs). macOS uses these to match data files to applications that can edit or view them. For example, PreviewMarkdown works with a number of UTIs, such as net.daringfireball.markdown
and net.ia.markdown
to provide previews of markdown files.
In Terminal, run:
utitool [file path 1] [file path 2] ... [file path n]
Use the --more
(or -m
) switch for more details:
Get data for all the files in the working directory:
$ utitool *
Get data for a named file in the working directory:
$ utitool text.md
Get data for named files in the working directory:
$ utitool text1.md text2.md
Get data for any named file:
$ utitool /User/me/text1.md
Get data for a named file in the parent directory:
$ utitool ../text1.md
Get extra data for a named file in the parent directory:
$ utitool ../text1.md --more
Get UTI information for a particular file extension:
$ utitool --extension nii
Get extra data for a particular UTI:
$ utitool --uti com.bps.rust-source
You can view Utitool’s source code at GitHub.
--extension
option to show info about specified a file extension.--uti
option to show info about a specified UTI.--more
option to show extra UTI information about specified files.UTType
API.