Mailinglist Archive: opensuse (2358 mails)

< Previous Next >
Re: [SLE] Name Game
  • From: grimmer@xxxxxxx (Lenz Grimmer)
  • Date: 1 Oct 1999 23:36:05 +0200
  • Message-id: <Pine.LNX.4.05.9910012331550.19054-100000@xxxxxxxxxxxxxx>



Hi,

On Fri, 1 Oct 1999, Bob Easton wrote:

> On 1 Oct 99, at 15:33, Maurizio Firmani wrote with subject
>
> > This simple script should work for you:
> >
> > #!/bin/sh
> >
> > for i in `ls *.tar.gz`; do
> > echo "Renaming $i"
> > mv $i `echo $i | sed "s/\[.*\]//"`
> > done

Why are you guys using cannons to shoot on sparrows? Use "mmv" !

mmv "*[1]*" "#1#2"

> That one wins the Kewpie doll! :)
> -Bob
> A Kewpie doll (queue'-pee )is a trademarked name for a small
> chubby doll with a top-knot of hair, as might be won at a
> carnival game etc.

Do I get one of those now? ;^)

Bye,
LenZ


--
------------------------------------------------------------------
Lenz Grimmer SuSE GmbH
mailto:grimmer@xxxxxxx Schanzaeckerstr. 10
http://www.suse.de/~grimmer 90443 Nuernberg, Germany

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >
Follow Ups