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. On 4/15/05, O Plameras <[EMAIL PROTECTED]> wrote: > Voytek wrote: > > >I'm trying to find a specific file withing a web tree, what the way to do it: > > > >I tried this with no luck > > > ># locate /home/domain.org.au localconf.php > >only to get > >find: localconf.php: No such file or directory > > > > > > > > I have similar requirement all the time and I use, > > $ find /home/domain.org.au -print | grep localconf.php > > O Plameras > > > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- Julio C. Ody http://www.livejournal.com/users/julioody/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
