Re: Speed up find

2011-08-06 Thread James Youngman
On Sat, Aug 6, 2011 at 5:07 AM, Peng Yu wrote: > On Fri, Aug 5, 2011 at 4:46 PM, James Youngman wrote: >> On Fri, Aug 5, 2011 at 10:44 PM, Peng Yu wrote: >>> Hi, >>> >>> I'm wondering if there is a way to speed up find by create some kind >>>

Re: Speed up find

2011-08-05 Thread Peng Yu
On Fri, Aug 5, 2011 at 4:46 PM, James Youngman wrote: > On Fri, Aug 5, 2011 at 10:44 PM, Peng Yu wrote: >> Hi, >> >> I'm wondering if there is a way to speed up find by create some kind >> of indexing. When the directory structure is large, find becomes slow.

Re: Speed up find

2011-08-05 Thread James Youngman
On Fri, Aug 5, 2011 at 10:44 PM, Peng Yu wrote: > Hi, > > I'm wondering if there is a way to speed up find by create some kind > of indexing. When the directory structure is large, find becomes slow. That is what locate(1) does. Both are part of findutils. -- This email is in

Speed up find

2011-08-05 Thread Peng Yu
Hi, I'm wondering if there is a way to speed up find by create some kind of indexing. When the directory structure is large, find becomes slow. -- Regards, Peng