#!/bin/sh

for fname in *
do
    echo XX${fname}
    if test -d ${fname}; then
        cd ${fname}
        ~/Temp/chgname.sh
        cd ..
    fi
    ufname=`echo ${fname} |tr '[a-z]' '[A-Z]'`
    mv ${fname} ${ufname}
done
