Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing question
On Mon, 18 Nov 2013 11:45:43 +0100
Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
> I'm looking for a globbing pattern that matches all plain files in
> all subdirectories except "git".
(^git)/**/*(.)
If you want to avoid matching git recursively in subdirectories, too,
you need EXTENDED_GLOB and
(^git/)##**/*(.)
and you'd remove the second "#" to include files in the current
directory.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author