Subject: Re: changing a group of file name extensions
To: Guy Santiglia <fredfl2@soback.kornet.net>
From: None <token@wuff.mayn.de>
List: netbsd-help
Date: 05/21/1999 18:55:33
Guy Santiglia wrote:

> # mv EX02010.CPP EX02010.C
> hundreds of times  :(
> 
> What would you do?  What WOULD you do?

$ ls
a.CPP  b.CPP  c.CPP
$ for f in *.CPP; do mv $f `basename $f .CPP`.C; done
$ ls
a.C  b.C  c.C
$ 

	- mkb