Display the metadata attributes for a file. More information: https://ss64.com/osx/mdls.html.
mdls {{path/to/file}}
mdls -name {{attribute}} {{path/to/file}}