#!/bin/sh # Rename all the files/dirs in the current directory to lower case. for i in $( ls | grep [A-Z] ); do mv -i $i `echo $i | tr 'A-Z' 'a-z'`; done