Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever 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 Sat, Nov 17 2007 at 7:16AM PST
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 | # ]