mdfind

列出与给定查询匹配的文件。 更多信息:https://keith.github.io/xcode-man-pages/mdfind.1.html.

mdfind -name {{文件}}

mdfind "{{查找的字符串}}"

mdfind -onlyin {{目录}} "{{字符串}}"