Forrest logo
back to the duti tool

duti:tldr:5de8f

duti: Display the default handler for a given UTI.
$ duti -d ${uti}
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the duti tool