Update mysqlbu-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user