/ Published in: Bash
Adapted from http://www.unix.com/shell-programming-scripting/3799-uppercase-lowercase.html#post12536
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for each in `ls -d *`; do newname=`echo $each | tr [A-Z] [a-z]`; mv $each $newname; done