|
|
Prevent locate's update from updating certain folders
The GNU locate and also slocate (which is now the standard in the Linux world) both offer pruning options for defining items to not scan into the db. I recommend slocate - which is a secure version of locate allowing users to only search for files they have permissions to access. Installing slocate is a bit beyond the scope of this hint and really requires its own thread so I will post to the site and maybe it will show up in a few days as a hint. The GNU version of locate only seems to come as part of the findutils source code - this includes find, xargs, and locate. You can install the complete pkg through Fink: fink install findutils or use the following script to install it manually if you don't have Fink - optionally only installing the locate/updatedb components. You will still need the Developer tools installed to compile the source code.
Prevent locate's update from updating certain folders
Ooops - forget about the part "optionally installing only locate/updatedb". I just realized that the complete findutils pkg is required for updatedb to work properly |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|