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*
时间: 2024-10-13 15:53:54
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*