Update mysqlbu-scripts.sh

This commit is contained in:
2019-04-08 12:22:54 -05:00
parent eaf4da4edc
commit 03c4d78df0

View File

@@ -310,7 +310,7 @@ case $1 in
echo -e "${idsCL[LightYellow]}============ Available MySQL Backups ============${idsCL[Default]}"
bsz=`du -sh ${BACKUP_PATH} | awk '{print $1}'`
echo -e "${idsCL[Yellow]}Storage space used by all backups - ${bsz} ${idsCL[Default]}"
echo
echo -e "${idsCL[LightYellow]}-------------------------------------------------${idsCL[Default]}"
for day in $BACKUP_PATH/* ; do
if [ "${day}" != "${BACKUP_PATH}/latest" ]; then
tdt=`sed 's/.*\///' <<< $day`