Re: Locate with exclude?

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

 



On Sun, 2007-02-18 at 10:01 +0000, Anne Wilson wrote:
> I generally use locate to find a file, but I have /mnt/FC4root 
> and /mnt/FC4/home, and dozens of 'finds' are reported that are not relevant.  
> I'd like to use locate, telling it to ignore/mnt/FC4*, but nothing in the man 
> pages tells me that this is possible.
> 
> Does anyone have a solution to searching while excluding large areas like 
> this?
Check /etc/updatedb.conf

You probably will want to customize on of the PRUNE* variables.

Ralf



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux