rename

批量去掉字母b:
[root@bogon
~]# ls a_b_1.txt a_b_2.txt a_b_3.txt a_b_4.txt a_b_5.txt a_b_6.txt [root@bogon ~]# rename "b" "" *.txt [root@bogon ~]# ls a__1.txt a__2.txt a__3.txt a__4.txt a__5.txt a__6.txt
原文地址:https://www.cnblogs.com/tangshengwei/p/5474716.html