Subject: Re: changing a group of file name extensions
To: None <seebs@plethora.net>
From: Guy Santiglia <fredfl2@soback.kornet.net>
List: netbsd-help
Date: 05/21/1999 12:08:58
On Thu, 20 May 1999 seebs@plethora.net wrote:
Thanks alot for your help, that worked great! I think that I need
study some shell programming.
>
> for i in *.cpp
> do
> mv $i ${i%.cpp}.c
> done
>
> For extra credit
>
> ls *.cpp | while read i
> do
> j=`echo $i | tr A-Z a-z`
> mv $i ${j%.cpp}.c
> done
>
> > Or what list might you ask a question like this?
>
> comp.unix.shells or comp.unix.questions.
>
> -s
>
____________________________________________________________
Guy Santiglia Quadra 610, NetBSD 1.3.3!
South Korea
____________________________________________________________