All apps/mdfind

mdfind

mdfind

Find files with Spotlight.

Runs as mdfind|macOS

Autocomplete

Fig spec, with what the manifest adds · 10 options
Published once and never changed; check the digest before caching
sha256
a507879adc687b530ccc9ed67ec532ec8b7e56f595ddffe2299bdb19566ef927
Size
2012 bytes
OptionsOn mdfind itself
--help-h
Show help for mdfind
-0
Prints an ASCII NUL character after each result path
-live
Provide live-updates to the number of files matching the query
-count
Output the total number of matches, instead of the path to the matching items
-onlyin
Limit the scope of the search to <dir> <dir>
-name
Search for matching file names to <filename> only <filename>
-reprint
Reprint results on live update
-s
Show contents of smart folder ~/Library/Saved Searches/<folder>.savedSearch <folder>
-literal
Force the provided query string to be taken as a literal query string, without interpretation
-interpret
Force the provided query string to be interpreted as if it had been typed into the Spotlight menu
ArgumentsPositional, in order
<query>