for i in `ls` do mv -f $i `echo $i | tr A-Z a-z` done 转载于:https://www.cnblogs.com/benhuan/archive/2012/09/03/3302030.html