![Forrest logo](/images/logo.png)
mdls:tldr:02c39
mdls: Display the list of metadata attributes for file.
$ mdls ${filename}
try on your machine
The command "mdls" is used to display the metadata attributes of a specified file.
In this specific command, "${filename}" is a placeholder for the actual file name or path that you want to retrieve metadata for. You need to replace "${filename}" with the path or name of the file you want to query.
When you run the command with the desired file, it will display the metadata attributes associated with that file. The information often includes attributes like file type, creation date, modification date, and more.
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.