/usr/bin/mdls
The mdls command prints the values of all the metadata attributes associated with the files provided as an argument.