←back to thread

700 points yen223 | 1 comments | | HN request time: 0.286s | source
Show context
zikduruqe ◴[] No.42063206[source]

    locate 
https://ss64.com/mac/locate.html

locate searches a database for all pathnames which match the specified pattern. The database is recomputed periodically, (about once a week) and contains the path-names of all files which are publicly accessible.

replies(1): >>42063730 #
emmelaich ◴[] No.42063730[source]
The database is not set up by default.

Your better bet on MacOS is to use `mdfind -name ....`

replies(1): >>42065589 #
1. kstrauser ◴[] No.42065589[source]
I have that aliased to `locate` on mine. It's not exactly the same but it gets me 99% of the way there.