Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: backing up with zsh
- X-seq: zsh-users 1461
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: Mark Borges <mdb@xxxxxxxxxxxx>
- Subject: Re: backing up with zsh
- Date: Fri, 17 Apr 1998 22:42:24 +0200
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <vkzphkchu4.fsf@xxxxxxxxxxxx>; from Mark Borges on Fri, Apr 17, 1998 at 02:29:39PM -0600
- Mail-followup-to: Mark Borges <mdb@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxxxxxxx
- References: <19980417215617.A9887@xxxxxxxxxxxxxxxxx> <vkzphkchu4.fsf@xxxxxxxxxxxx>
Hi!
Thanks for feedback, Mark! :-)
Quoting Mark Borges (mdb@xxxxxxxxxxxx):
> $ echo **/*~*.[Gg][Ii][Ff]
ok, but - this just excludes the GIFs.
Now, how do I combine this with the BMPs and JPGs, too?
Can I use '|' for "or"? Example:
$ echo **/*~*.[Gg][Ii][Ff]|[bB][mM][pP]|[jJ][pP][gG]
I'd rather be using something like this:
$ echo **/*~(*.[bmp|gif|jpeg|jpg]/i)
.. where "/i" means "case insensitive".
Is there a way with zsh globbing?
> If you need to do more, it might be worth
> piping the output of find(1) into tar instead.
I didn't get this to work, either.
I also seem to get into trouble with
different kinds of regular expressions.
*sigh*
Sven [yes, I should have left three hours ago...]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author