shell 批量修改 文件夹内的文件名的大小写

for i in `ls` do mv -f $i `echo $i | tr A-Z a-z` done
原文地址:https://www.cnblogs.com/benhuan/p/3302030.html