On Saturday 13 September 2003 12:00 pm, Miark wrote:
> On 13 Sep 2003 03:50:36 +0700, Merlin Zener <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I wonder if it's possible to make the "find files" look everywhere
> > *except* in the /mnt directory?
>
> You can use slocate (which you can invoke with "locate") and grep
> everything that's not in /mnt. You can do that as follows:
>
> locate filename | grep -v /mnt
>
> Miark

You can also set slocate/updatedb to not compile the listing for files in 
/mnt. 

Edit /etc/updatedb.conf

and that should do it. Funny thing here, /mnt was already excluded by default.

-- 
                                                              
                                                          /\  
                                                Dark><Lord 
                                                          \/  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to