Мануалы и справочники OS X
mdfind

Команда mdfind: опции, ключи и примеры использования

mdfind

List files matching a given query.

  • Find a file by its name:

mdfind -name {{file}}

  • Find a file by its content:

mdfind {{query}}

  • Find a file containing a string, in a given directory:

mdfind -onlyin {{directory}} {{query}}