Question: what is mdls in mac?
Answer: The mdls command prints the values of all the metadata attributes associated with the files provided as an argument. To get a list of the available attributes for use in constructing queries, see mdimport(1), particularly the -X switch.