diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index fce129e..ba4ce3f 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -365,7 +365,7 @@ case $1 in for hour in $day/* ; do thr=`sed 's/.*\///' <<< ${hour//_BASE/}` - thr=`sed 's/-mysqldump//g' <<< ${hour//_BASE/}` + thr=`sed 's/-mysqldump//g' <<< ${thr}` echo "HERE: ${tdt} (${thr})=${thr//-/:}" bsz=`du -sh ${hour} | awk '{print $1}'` if [ ${hour: -5} = "_BASE" ]; then