Scripting question ...

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: joe@actionline.com
Date:  
To: plug-discuss
Subject: 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