To update the locate database on OS X, you need to run locate.updatedb instead of the regular updatedb :
> sudo /usr/libexec/locate.updatedb
You’ll probably get the following warning :
>>> WARNING
>>> Executing updatedb as root. This WILL reveal all filenames
>>> on your machine to all login users, which is a security risk.
which you can listen to or ignore as you see fit :)
No Responses to “updatedb/locate on OS X”
Leave a Reply