macOS 使用交流 QQ 群:658095824,V : ez-code
使用示例
$ mdls /Users/xx/Desktop/a.txt
_kMDItemDisplayNameWithExtensions = "a.txt"
kMDItemContentCreationDate = 2022-06-22 01:19:49 +0000
kMDItemContentCreationDate_Ranking = 2022-06-22 00:00:00 +0000
kMDItemContentModificationDate = 2022-06-22 01:19:53