[wellylug] multidots

David Antliff dave.antliff at paradise.net.nz
Wed Jun 1 17:12:13 NZST 2005


On Wed, 1 Jun 2005, Simon Antliff wrote:
> On 6/1/05, E.Chalaron <e.chalaron at xtra.co.nz> wrote:
>> I did retain locate + awk ..
> Be sure to keep locate up-to-date then (updatedb).

That's a good point - most distros run updatedb regularly (daily, 
sometimes weekly) by default, but it's important to realise that locate 
may not reflect the current state of the filesystem accurately.

Of course you probably know this already, but just in case anyone didn't.

The 'find' solutions, although relatively much slower, will reflect the 
state of the filesystem at the time you run it.

-- 
David




More information about the wellylug mailing list