Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Upper case
- X-seq: zsh-users 2698
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Upper case
- Date: 25 Oct 1999 21:50:15 GMT
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultants
- References: <19991025225443.A8843@xxxxxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
Mircea Damian <dmircea@xxxxxxxxxxxxxx> typed:
:I was wondering yesterday if there is a simple way to rename all my song
:files(mp3) from
:name with spaces.mp3 -> Name With Spaces.mp3
:
:with something like:
:for i in *.mp3; do
:mv -v $i (UNKNOWN_PART_TO_ME)
One way:
mv $i ${${(C)i}:s/Mp3/mp3/}
:done
Regards,
--
Geoff Wing : <gcw@xxxxxxxxx> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@xxxxxxx> Phone : (Australia) 0413 431 874
Messages sorted by:
Reverse Date,
Date,
Thread,
Author