Update mysqlbu-scripts.sh

This commit is contained in:
2025-07-26 19:37:46 -05:00
parent 32c29093f3
commit f6aaf13cb6

View File

@@ -358,7 +358,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}" != "${BACKUP_PATH}/latest" ] && [ "${day}" != "${BACKUP_PATH}/mounted" ]; 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]}"