Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Excluding files & directories from a glob
- X-seq: zsh-users 9469
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Excluding files & directories from a glob
- Date: Tue, 04 Oct 2005 16:53:07 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi Zeddites
The following works just fine
# grep all coldfusion files except ctpigeon.cfm and env.cfm
grep -i 'host' **/(*.cfm~(ctpigeonbot|env).cfm)
But I would like it to also ignore sub-directories named junk*
How do?
--
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author