Comment by zikduruqe

2 years ago

    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.

The database is not set up by default.

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

  • I have that aliased to `locate` on mine. It's not exactly the same but it gets me 99% of the way there.