Locate Database - Is it worth generating?

I was playing around on the terminal using some Unix commands. When I tried "Locate" the system replied


WARNING: The locate database (/var/db/locate.database) does not exist.

To create the database, run the following command:



sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist



Please be aware that the database can take some time to generate; once

the database has been created, this message will no longer appear.


I have been using OSX for years and have never had occasion to use the Locate. Am I missing something useful?

MacBook, Mac OS X (10.7.3), AirPort Express, IPod, iPad, iPad2,

Posted on Apr 14, 2012 12:44 PM

Reply
4 replies

Nov 28, 2012 7:29 AM in response to bud_jones

You probably already know this but I just found this very helpful as well - as I TOO was going to install the locate database, but didn't want to overdo it... - located at the bottom of the "http://support.apple.com/kb/HT2531" link - i noticed an advanced options section... (while in terminal you can use the power of command line of spotlight via the "mdfind {file/string}" command.


I was jazzed as it was just as fast (slightly faster obviously due to no UI) as spotlight and gave me what I wanted.


Jus' fyi is all. Hope it helps someone else too.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Locate Database - Is it worth generating?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.