440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
within   {key13}


Create a customized user-centric locate database

MacOsxHints

Tuesday April 8, 2008. 04:30 PM
MacOsxHints

If you have ever used the locate command within Terminal to find a file of yours that, for instance, ends in .doc, you might find that you end up with more than 60,000 hits on your system that you didn't create, and didn't want to know about. Hence, it may be beneficial to create a user-level database for locate that searches only your local directory structure, so that you only see what belongs to you.To do this, and have my new database updated automatically, I modified a copy of the locate database update program that came with the Mac, set up a crontab to update this database hourly, and then created an alias for my local locate, called llocate. Now when I type llocate .doc , I only find 584 .doc files, and I can rest assured that they are all mine! Read on for the how-to... Step 1: Copy and modify database update program I first copied the original program to a new directory, with this command:
have ever used locate command within Terminal find file yours that instance Create customized user-centric locate database
Create a customized user-centric locate database Read more at MacOsxHints
www.macosxhints.com/article.php?story=20080401141647236

 

 Related News 
Create an HFS+/NTFS/FAT32 external drive Create an HFS+/NTFS/FAT32 external drive
 MacOsxHints 04/18/08 04 PM 
Ted Landau's User Friendly Blog - CableCARD Conspiracy? Ted Landau's User Friendly Blog - CableCARD Conspiracy?
 TheMacObserver 04/17/08 06 PM 
Report: Microsoft planning Apple iTunes-like Zune-centric onl... Report: Microsoft planning Apple iTunes-like Zune-centric onl...
 Mac Daily News 04/16/08 05 PM 
iTunes, Starbucks create ‘Pick of the Week’ iTunes, Starbucks create ‘Pick of the Week’
 Mac Central 04/15/08 02 PM 
Mac user anger at laptop graphics glitch Mac user anger at laptop graphics glitch
 Macworld UK 04/15/08 12 PM 
Ted Landau's User Friendly Blog - In Memory of Stan Flack Ted Landau's User Friendly Blog - In Memory of Stan Flack
 TheMacObserver 04/15/08 03 AM 
Improve iPhone/touch location mapping database Improve iPhone/touch location mapping database
 MacOsxHints 04/11/08 04 PM 
Fix slow mobile user logins Fix slow mobile user logins
 MacOsxHints 04/10/08 04 PM 
Apple Enthusiast Debuts - Total Aggregation of Apple User News Apple Enthusiast Debuts - Total Aggregation of Apple User News
 Mac Megasite 04/09/08 09 PM 
Use Automator to create and upload a time lapse video to Flickr Use Automator to create and upload a time lapse video to Flickr
 Mac Merc 04/09/08 05 AM 
Ted Landau's User Friendly Blog - Comcast vs. BitTorrent Ted Landau's User Friendly Blog - Comcast vs. BitTorrent
 TheMacObserver 04/08/08 06 PM 
An AppleScript to ease fast user switching An AppleScript to ease fast user switching
 MacOsxHints 04/08/08 04 PM 
7th Annual NAB Final Cut Pro User Group SuperMeet Sets Meetin... 7th Annual NAB Final Cut Pro User Group SuperMeet Sets Meetin...
 TheMacObserver 04/07/08 04 PM 
Create a radio station with announcements via Nicecast Create a radio station with announcements via Nicecast
 MacOsxHints 04/07/08 04 PM 
iPO Ted Landau's User Friendly View - A Guide to Installer fo... iPO Ted Landau's User Friendly View - A Guide to Installer fo...
 TheMacObserver 04/07/08 03 PM 
Apple vs. RIM, iPhone user profile, Canadian iPhone petition,... Apple vs. RIM, iPhone user profile, Canadian iPhone petition,...
 Low End Mac 04/04/08 08 PM 
10.5: Show user pictures with transparency 10.5: Show user pictures with transparency
 MacOsxHints 04/04/08 04 PM 
iPhone User Behavior and Satisfaction Accessing Mobile Web Si... iPhone User Behavior and Satisfaction Accessing Mobile Web Si...
 AppleLinks 04/03/08 07 AM 
Ted Landau's User Friendly Blog - The Demise of the Optical D... Ted Landau's User Friendly Blog - The Demise of the Optical D...
 TheMacObserver 04/02/08 07 PM 
Create iWeb sites in languages other than system default Create iWeb sites in languages other than system default
 MacOsxHints 04/02/08 04 PM 
Radiohead?s Nude: Create Your Own Remix Radiohead?s Nude: Create Your Own Remix
 Apple HotNews 04/01/08 09 PM 

Search

Mac Zicos
Tue October 14, 10:43 AM
within   {key13}