Re: Locate with exclude?

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

 



On Sunday 18 February 2007, Manuel Arostegui Ramirez wrote:
> El Domingo, 18 de Febrero de 2007 11:32, Anne Wilson escribió:
> > On Sunday 18 February 2007, Ralf Corsepius wrote:
> > > 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.
> >
> > Thanks to you and Manuel for replying.  After doing this I presume that
> > there is some service that I need to re-start, in order to cause the
> > config file to be read?
>
> Just run updatedb manually
> All the best.

Thanks Manuel, that seems to have fixed it.  It will save a lot of 
eye-strain :-)

Anne

Attachment: pgphX0DsYjPMn.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux