![Forrest logo](/images/logo.png)
duti:tldr:5de8f
The command "duti -d ${uti}" is a command-line instruction that uses the "duti" utility to delete a file association or default application assigned to a specific Uniform Type Identifier (UTI).
Here is a breakdown of each element within the command:
-
"duti": This is the name of the utility or program being executed. This utility manages file associations and allows you to manipulate default applications for specific file types on macOS.
-
"-d": It is an option or flag used with the "duti" utility. In this context, it specifies that we want to delete the default application or file association for the provided UTI.
-
"${uti}": This is a placeholder or variable that represents the UTI (Uniform Type Identifier) for which the default application or file association needs to be deleted. The value of this variable should be replaced with the actual UTI you are targeting.
Overall, the command "duti -d ${uti}" is used to remove the default application or file association associated with a specific UTI on macOS.