Help with copying files using shell script

view full story

http://www.unix.com – I want to write a shell script to copy a list of files from one directory to another. And while copying it should change the first character of the filename to uppercase and others to lowercase.Below is what i have tried so far. for file in "$@" do if [ -f $file ] then ufile=`echo $file | sed -e 's/^./\U&/'` cp -v $file $ufile done Can anybody help me out to complete the shell script??? (HowTos)