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


Click here to return to the 'Anticipating your comments' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Anticipating your comments
Authored by: SOX on Jul 08, '04 02:12:28PM

1) This hint was aimed at the case I have an external volume or large shared filesystem that I am trying to keep from being indexed. I cant just make this inaccessible to all users besides the owner and group; this is why locate.updatedb is indexing it in the first place.

2) A previous hint had a comment that suggested using the --prune option in locate.updatedb instead of editing the system file. Unfortunatley there is no such option in Mac OSX. The man page mentions it but it is incorrect. Just look at the code yourself if you doubt this.

3) This approach is general, as opposed to editing the command to explictly exclude a particular named directory. If one only had a single specific case to worry about then this wold work. That is a previous hint suggested adding the filter -regex "/Volumes" to avoid indexing external volumes.



[ Reply to This | # ]