Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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
Question marked as Best reply

Posted on Apr 14, 2012 4:33 PM

It's not created by default in Mac OS X 10.7. Generally, if all the drives you normally use are indexed by Spotlight, having a locate database won't add anything.


(65625)

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.

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 ID.