[shell] 批量修改文件名

for i in `ls`; do j=`echo $i|awk -F '.' '{print $2}'`; mv $i $j; done

猜你喜欢

转载自blog.csdn.net/lieberstraum/article/details/51852288