Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Get locate to index the Time Machine drive' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Get locate to index the Time Machine drive
Authored by: vasi on Nov 17, '07 07:16:13AM

The file /usr/libexec/locate.updatedb belongs to the system and may be overwritten by any future system update. Thankfully, Apple finally provided us in Leopard with configuration files for the periodic maintenance scripts. In the locate configuration file /etc/locate.rc , you can uncomment the line settings PRUNEPATHS and it should have the same effect as this script.

While we're on the topic, should you want to turn off the locate update script entirely, you can create /etc/periodic.conf and add this line:

weekly_locate_enable="NO"

Other options for your periodic.conf can be found in /usr/defaults/periodic.conf.



[ Reply to This | # ]