On 4/15/05, Julio Cesar Ody <[EMAIL PROTECTED]> wrote: > You could run > > $ slocate -U /home/domain > > with this command you create a database of file locations, which later > can be used through > > $ slocate localconf.php > > The database needs to be updated once in a while, in case you move > files around often. Maybe you could put the first command above in a > daily cron job.
I've noticed most distributions include updatedb and locate. updatedb should be ran nightly (and is by default if its installed via cron). And then to find a file you use locate (much the same as slocate above). $ locate thisfile.txt Thanks -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
