一句话命令修改大小写

for i in `ls`;do mv -f $i `echo $i |tr A-Z a-z` 2>/dev/null;done
原文地址:https://www.cnblogs.com/jinanxiaolaohu/p/13472177.html