diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index 5d3c559..58ec6e4 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 'sc-mysqldump//g' <<< ${thr}` + thr=`sed 's/-mysqldump//g' <<< ${thr}` bsz=`du -sh ${hour} | awk '{print $1}'` if [ ${hour: -5} = "_BASE" ]; then echo -e "${idsCL[LightGreen]}${idsST[Bold]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - FULL BACKUP${idsST[Reset]}${idsCL[LightGreen]} - ${bsz}${idsCL[Default]}"