Scripting question ...

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: joe@actionline.com
Data:  
Para: plug-discuss
Asunto: Scripting question ...
How can I exclude a specified directory (or perhaps more than one)
from a 'locate' search for files containing a certain name or word
on my system?

For example, I frequently now use the following:

$ locate filename | fgrep -ya "/home/joe" <E>

How could I modify that to exclude all files with the specified
filename in one (or more) specified subdirectories?



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss