Re: Locate with exclude?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

How about:

locate whatyouseek | grep -v /mnt/FC4

hth

ciao,
furlan


- --

Music: http://www.myspace.com/acidredux

Links: http://del.icio.us/furlan

Home:  http://flprim.us/index.html

"A sense of humor, properly developed, is superior to any religion so
far devised."
- -- Tom Robbins
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFF2I6xbi10WxsICPgRAhXiAJ9+nW/YV/bfWOl2wW4Tqixl/Ux6xACgjlF3
29vF0nDS3dVPYQO5pb2MTI4=
=gGQZ
-----END 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