# http://www.tldp.org/HOWTO/mini/FDU/truetype.html #!/bin/sh # ## -------- convert upper to lower case --------- ls * | while read f do if [ -f $f ]; then if [ "$f" != "`echo \"$f\" | tr A-Z a-z`" ]; then #Note that 'This' will overwrite 'this'! mv -iv "$f" "`echo \"$f\" | tr A-Z a-z`" fi fi done ## eof