Gilles Ruppert

a.k.a. elduderino78

Updating the Locate Database on OSX

locate is a very handy command to find files on the system. It is much faster than find since it keeps a database of all the system files. This database is periodically updated, but if you want to update it yourself, just use the following command:

sudo /usr/libexec/locate.updatedb

Here you can get a bit more information on this handy little command