#!/bin/sh for i in `ls` do FILE=$i file=`echo $FILE|tr "[A-Z]" "[a-z]"` echo $file mv $FILE $file done