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


Click here to return to the 'Make the locate command ignore certain directories' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make the locate command ignore certain directories
Authored by: cilly on Nov 15, '03 10:21:22AM
This looks good!

I would use the full path: /private/var/db/locate.database Just to make sure it will work if the alias is broken.

You only need to add i.e. /Volumes to the prunepath value, or any other path you want to excempt.

---
cilly

[ Reply to This | # ]