[wplug] searching lots of dirs?

Michael A. Smith michael at smith-li.com
Sun May 8 12:13:32 EDT 2005


The short answer is "yes".

OTOH if you're planning to do the search as a regular user, then it
doesn't matter if there are restricted files the index can't see. You
won't be able to access them anyway.

-Mike

Doug Green wrote:

>Hey all- just read the man page for locate, and am building the locatedb
>file for my system (the file didn't exist, so I ran locate.updatedb). As the
>file is being built, a number of directories are returning permission
>errors... I ran the command from my user account- should I have done this as
>root?
>Thanks,
>Doug
> 
>
>
>On 5/8/05 10:50 AM, "Eric Cooper" <ecc at cmu.edu> wrote:
>
>  
>
>>On Sun, May 08, 2005 at 01:18:07AM -0400, James O'Kane wrote:
>>    
>>
>>>On Sun, 8 May 2005, Zachary Uram wrote:
>>>
>>>      
>>>
>>>>I tried the
>>>>"find" command but it doesn't seem to be recursing.
>>>>        
>>>>
>>>find should be the right tool. Care to give the full command line you're
>>>trying?
>>>      
>>>
>>The "locate" command will probably be much faster, but typically the
>>index is only rebuilt daily, so you'll miss files created more
>>recently (and get false-positives on files deleted recently).
>>    
>>
>
>
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug
>  
>



More information about the wplug mailing list