zsh-users
 help / color / mirror / code / Atom feed
From: Sven Guckes <guckes@math.fu-berlin.de>
To: Mark Borges <mdb@cdc.noaa.gov>
Cc: zsh-users@math.gatech.edu
Subject: Re: backing up with zsh
Date: Fri, 17 Apr 1998 22:42:24 +0200	[thread overview]
Message-ID: <19980417224224.O9638@math.fu-berlin.de> (raw)
In-Reply-To: <vkzphkchu4.fsf@cdc.noaa.gov>; from Mark Borges on Fri, Apr 17, 1998 at 02:29:39PM -0600

Hi!

Thanks for feedback, Mark!  :-)

Quoting Mark Borges (mdb@cdc.noaa.gov):
>  $ 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...]


  parent reply	other threads:[~1998-04-17 20:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-17 19:56 Sven Guckes
1998-04-17 20:20 ` Rob Windsor
1998-04-18  9:36   ` TGAPE!
1998-04-18 18:08     ` Bart Schaefer
     [not found] ` <vkzphkchu4.fsf@cdc.noaa.gov>
1998-04-17 20:42   ` Sven Guckes [this message]
     [not found]     ` <vkyax4cgur.fsf@cdc.noaa.gov>
1998-04-17 21:00       ` Sven Guckes
1998-04-18  0:44         ` Perl and ZSH (WAS: Re: backing up with zsh) tep
1998-04-17 21:24           ` Bart Schaefer
1998-04-18 10:53           ` Perl and ZSH Jonas Bofjall
1998-04-18  9:53             ` TGAPE!
1998-04-18 18:21               ` Bart Schaefer
1998-05-04 23:47                 ` Zsh and CVS Scott RoLanD
1998-04-18 10:13     ` backing up with zsh Mirar
1998-04-20  8:47     ` Andrew Main

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19980417224224.O9638@math.fu-berlin.de \
    --to=guckes@math.fu-berlin.de \
    --cc=mdb@cdc.noaa.gov \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).