Locate with exclude?

Anne Wilson cannewilson at tiscali.co.uk
Mon Feb 19 08:11:36 UTC 2007


On Monday 19 February 2007, Vivek J. Patankar wrote:
> Tony Nelson wrote:
> >> Won't work. The database for /locate/ is updated by a cron job that runs
> >> as root. So it will index the entire filesystem, except for exclusions
> >> set in updatedb.conf.
> >
> > Does too work, as only the files that would be visible to the user
> > running locate will be reported by locate.  See man updatedb, and try it.
>
> Just RTFM'ed and tested too. I stand corrected. Thanks.
>
One of the delights of linux is the multitude of choices to achieve 
anything :-)

Thanks to all

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070219/5ccf558e/attachment-0002.bin 


More information about the users mailing list