#!/bin/sh for orig do new="`echo \"$orig\" | tr \"[:upper:]\" \"[:lower:]\"`" if test "$new" != "$orig" ; then echo "$new" mv "$orig" "$new" fi done