commands.sh

mdls

macos

Display the metadata attributes for a file.

More info →

Examples (2)

Display the list of metadata attributes for file

mdls path/to/file

Display a specific metadata attribute

mdls -name attribute path/to/file
made by @shridhargupta | data from tldr-pages