/ Published in: Bash
Adapted from http://www.unix.com/shell-programming-scripting/3799-uppercase-lowercase.html#post12536
Expand |
Embed | Plain Text
for each in `ls -d *`; do newname=`echo $each | tr [A-Z] [a-z]`; mv $each $newname; done
Comments
Subscribe to comments
You need to login to post a comment.

Try this: rename 'y/A-Z/a-z/' *
heh, thanks :)