for file in `ls | grep .gz` do newfile=`echo $file | sed "s/$1/$2/g"` mv $file $newfile done
sh renameing.sh 20200802 20200825