Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Excluding files & directories from a glob



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