Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Excluding files in CVS directories in filename generation
- X-seq: zsh-users 6848
- From: Hannu Koivisto <azure@xxxxxx>
- To: Zsh Users' List <zsh-users@xxxxxxxxxx>
- Subject: Excluding files in CVS directories in filename generation
- Date: Mon, 08 Dec 2003 19:11:02 +0200
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: Hannu Koivisto <Hannu.Koivisto@xxxxxxxxxxx>
Greetings,
If I want a pattern that matches all files in the current directory
and its descendant directories excluding files in directories named
CVS, why doesn't
**/*~**/CVS/*(.)
work? Files in "$(pwd)/CVS" are not excluded with that pattern and
instead I have to say
**/*~CVS/*~**/CVS/*(.)
which feels a bit too verbose. Any solutions?
--
Hannu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author