标签:
3 for file in `ls ./*.*`
4 do
5 mv $file `echo $file|sed ‘s/IM_21R_ID331/1M21R_ID331/g‘`
6 done
7 sed -n ‘/1B21M_ID228/p‘ HXMT*
8 sed -i ‘s/1B21M_ID228/1M21R_ID331/‘ HXMT*
标签:
原文地址:http://www.cnblogs.com/heshangaichirou/p/5132895.html