4 ms·
For folks on macOS, you can also use "mdfind" as a command-line interface for macOS Spotlight search https://ss64.com/mac/mdfind.html https://ss64.com/mac/mdfi
by pimlottc 2y ago
For folks on macOS, you can also use "mdfind" as a command-line interface for macOS Spotlight search
https://ss64.com/mac/mdfind.html https://ss64.com/mac/mdfind.html
- kstrauser 2y agoI never remember what it's called, so I have `alias locate 'mdfind -name'` in my shell setup.
- pimlottc 2y agoIf it helps you remember, it appears that the "md" in "mdfind" stands for "metadata" [0] 0: https://en.wikipedia.org/wiki/Spotlight_(Apple)#macOS https://en.wikipedia.org/wiki/Spotlight_(Apple)#macOS
- kstrauser 2y agoYeah, for some reason my brain's incapable of pinning that in cache. Oh well, that's what they invented aliases for in the first place.
- spudlyo 2y agoConsidering how many as many CPU cycles and iops that Spotlight robs from you on a regular basis, you might as well get some use out of it.