mdls Command Examples

Display the metadata attributes for a file. More information: https://keith.github.io/xcode-man-pages/mdls.1.html.

mdls {{path/to/file}}

mdls -name {{attribute}} {{path/to/file}}