#!/bin/sh

# fn2upr  Converts filenames to uppercase
 
if [ $# -eq 0 ]; then
    echo "usage: fn2upr <filename>"
    exit
fi

for i in "$@"; do
    upper=`echo $i | tr "[:lower:]" "[:upper:]"`
    echo "Renaming $i"
    mv "$i" "$upper"
done 

echo "Done"
.
