From 6068b9db758b714c3d0133b5c51238d60e6e92a5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 7 Jan 2019 08:11:54 -0600 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index 72608b2..693edd4 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -106,16 +106,16 @@ DELETE_MENU() { #tdt=`sed 's/.*\///' <<< $day` tdt=`echo $day | sed 's/.*\///'` bsz=`du -sh ${day} | awk '{print $1}'` - echo -e "${idsBG[Blue]}${idsCL[White]}${tba}) -> `date -d"${tdt}" +"%a, %B %d, %Y"` - ${bsz} ${idsCL[Default]}${idsBG[Default]}" + echo -e "${idsBG[Blue]}${idsCL[White]}$tba) -> `date -d"${tdt}" +"%a, %B %d, %Y"` - ${bsz} ${idsCL[Default]}${idsBG[Default]}" tbb=1 for hour in $day/* ; do #thr=`sed 's/.*\///' <<< ${hour//_BASE/}` thr=`echo ${hour//_BASE/} | sed 's/.*\///'` bsz=`du -sh ${hour} | awk '{print $1}'` if [ ${hour: -5} = "_BASE" ]; then - echo -e "${idsCL[LightGreen]}${idsST[Bold]}${tba}${tbb}) ) -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - FULL BACKUP${idsST[Reset]}${idsCL[LightGreen]} - ${bsz}${idsCL[Default]}" + echo -e "${idsCL[LightGreen]}${idsST[Bold]}($tba$tbb) -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - FULL BACKUP${idsST[Reset]}${idsCL[LightGreen]} - ${bsz}${idsCL[Default]}" else - echo -e "${idsCL[Cyan]} -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - Incremental - ${bsz}${idsCL[Default]}" + echo -e "${idsCL[Cyan]}($tba$tbb) -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - Incremental - ${bsz}${idsCL[Default]}" fi tbb=`expr tbb + 1` done