diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index 91639b5..aa8727d 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -365,7 +365,8 @@ case $1 in for hour in $day/* ; do thr=`sed 's/.*\///' <<< ${hour//_BASE/}` - echo "HERE: ${tdt} (${thr})=${thr//-/:}" + thr=`sed 's/-mysqldump//g' <<< ${hour//_BASE/}` + # echo "HERE: ${tdt} (${thr})=${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]}"