Return to Snippet

Revision: 12229
at March 6, 2009 19:50 by maphew


Initial Code
for each in `ls -d *`;
   do newname=`echo $each | tr [A-Z] [a-z]`;
   mv $each $newname;
done

Initial URL

                                

Initial Description
Adapted from http://www.unix.com/shell-programming-scripting/3799-uppercase-lowercase.html#post12536

Initial Title
Convert dirnames from upper to lower case on linux:

Initial Tags

                                

Initial Language
Bash