Locate with exclude?
magicus
magicus at snet.net
Sun Feb 18 17:36:49 UTC 2007
-----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-----
More information about the fedora-list
mailing list