[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Locate with exclude?



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.

--
Regards
Vivek J. Patankar

Registered Linux User #374218
Fedora Core release 6 (Zod)
Linux 2.6.18-1.2798.fc6 x86_64


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]