Locate with exclude?

Anne Wilson cannewilson at tiscali.co.uk
Sun Feb 18 10:01:15 UTC 2007


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?

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070218/25377c41/attachment-0001.sig>


More information about the fedora-list mailing list