Re: exclude pattern für cp?

From: Oliver Fromme <olli(at)secnetix.de>
Date: Wed, 28 Mar 2001 15:27:36 +0200 (CEST)

Roland Jesse <jesse(at)mail.cs.uni-magdeburg.de> wrote:
> Oliver Fromme <olli(at)secnetix.de> writes:
> > cp *~foo* /da/irgendwo
> >
> > kopiert alle Dateien, die nicht mit "foo" anfangen,
>
> Sicher?

Ja, vorausgesetzt daß ...

> % touch blafoofusel
> % touch fooblafusel
> % ls *~foo*
> zsh: no matches found: *~foo*

Versuch mal ,,setopt extendedglob`` (oder gleich in
Deine ~/.zshrc reinschreiben).

> Aber vielleicht hab' ich das auch nur falsch verstanden, weil ich...
>
> > lies mal die manpage Deiner Shell
>
> ... nicht richtig gemacht habe. :-)

Kann schon sein, dann hättest Du's evtl. gefunden. :-)

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 28 Mar 2001 - 15:27:40 CEST

search this site