for file in `ls |grep [A-Z]| grep -v _0.ive$ |grep -v _1.ive$|grep -v _2.ive$`
do
str=`echo $file | tr 'A-Z' 'a-z'`
mv $file $str
done
linux批量修改文件名
最新推荐文章于 2024-11-01 18:23:17 发布
for file in `ls |grep [A-Z]| grep -v _0.ive$ |grep -v _1.ive$|grep -v _2.ive$`
do
str=`echo $file | tr 'A-Z' 'a-z'`
mv $file $str
done