#!/bin/sh

for i in *.JPG
do
  name="`echo $i | cut -d. -f1`"
  mv $i $name.jpg 
done
exit 0

