#!/bin/bash
# renames.sh
# basic file renamer

     criteria=.ISO
     re_match=.ISO
     replace=.iso
     echo $1 $2 $3

     
     for i in $( ls *$criteria* ); 
     do
         src=$i
         tgt=$(echo $i | sed -e "s/$re_match/$replace/")
	 echo "$src renamed to $tgt"
mv $src $tgt
     done
