#!/bin/sh # [A-Z]* matches upper case names for i in [A-Z]* do j=`echo $i | tr '[A-Z]' '[a-z]'` mv $i $j done