On Thu, 5 Jul 2001, Ed Centanni wrote:
> What's the best way -- either by command line or a shell script -- to
> change a group of files names. EX. change all the files with a
> specific extension to another name: *.jpeg to *.JPG
for i in ` ls *.jpeg `; do
NONCE=`basename $i .jpeg`
mv $i $NONCE.JPG
done
-- Russ
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:38:03 EDT