#!/bin/sh # # UP YA GO! for each in * do if [ -d $each ] then mv "$each" "`echo $each | tr '[a-z]' '[A-Z]'`" fi done