Subject: Re: changing a group of file name extensions
To: Guy Santiglia <fredfl2@soback.kornet.net>
From: None <seebs@plethora.net>
List: netbsd-help
Date: 05/20/1999 21:45:06
In message <Pine.NEB.4.05.9905211131050.1625-100000@fredfl2>, Guy Santiglia wri
tes:
>What would you do? What WOULD you do?
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