Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh - rename THIS=THAT - mv $a $a:s/THIS/THAT/
- X-seq: zsh-users 1619
- From: Sven Guckes <guckes@xxxxxxxxxxxxxxxxx>
- To: gsker@xxxxxxxxxxxxxxxxx
- Subject: Re: zsh - rename THIS=THAT - mv $a $a:s/THIS/THAT/
- Date: Mon, 15 Jun 1998 02:37:41 +0200
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SOL.3.95.980613090415.15614A-100000@xxxxxxxxxxxxxxxxxxxx>; from Gerald Skerbitz on Sat, Jun 13, 1998 at 09:06:44AM -0500
- Mail-followup-to: gsker@xxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- References: <19980613130258.F3086@xxxxxxxxxxxxxxxxx> <Pine.SOL.3.95.980613090415.15614A-100000@xxxxxxxxxxxxxxxxxxxx>
Hi!
Quoting Gerald Skerbitz (gsker@xxxxxxxxxxxxxxxxxxxx):
> > $ ls
> > lahDIdah DIagnose LadyDI
> > $ rename * DI=di
> > $ ls
> > lahdidah diagnose Ladydi
> for a in *DI*
> mv $a $a:s/DI/di
That's gotta be the most elegant solution! :-)
Thanks!
Sven
Messages sorted by:
Reverse Date,
Date,
Thread,
Author