I use the
locate command in Terminal regularly. When does its database get updated? On other systems, I could run
updatedb as root to force it to update.
Note: I know using
mdfind to search with spotlight is another option
The locate database is updated by the following cronjob:
On Most Mac systems, Cron has been replaced by launchd, and you'll find that
Or, something a little more user friendly:
From the locate manpage:
By default, the database is rebuilt weekly through launchd. You can run locate.updatedb manually to do the update.