Update mysqlbu-scripts.sh

This commit is contained in:
2020-02-15 23:31:36 -06:00
parent 74af4d3ae2
commit 91caaafae2

View File

@@ -315,7 +315,7 @@ case $1 in
echo -e "${idsCL[Yellow]}Storage space used by all backups - ${bsz} ${idsCL[Default]}"
echo -e "${idsCL[LightYellow]}-------------------------------------------------${idsCL[Default]}"
for day in $BACKUP_PATH/* ; do
if [ "${day}" != "${BACKUP_PATH}/latest" ]; then
if [ "${day}" != "latest" ]; then
tdt=`sed 's/.*\///' <<< $day`
bsz=`du -sh ${day} | awk '{print $1}'`
echo -e "${idsBG[Blue]}${idsCL[White]}-> `date -d"${tdt}" +"%a, %B %d, %Y"` - ${bsz} ${idsCL[Default]}${idsBG[Default]}"