#! /bin/bash
DIR=$1
for a in `ls $DIR` do fname=`echo $a | tr A-Z a-z` mv $DIR/$a $DIR/$fname done; exit 0
You must be logged in to post a comment.