Update mysqlbu-scripts.sh

This commit is contained in:
2019-03-04 01:00:10 -06:00
parent 0e581e6ca5
commit f436a41ceb

View File

@@ -308,9 +308,9 @@ case $1 in
echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[Default]}"
echo ""
echo -e "${idsCL[LightYellow]}============ Available MySQL Backups ============${idsCL[Default]}"
echo "HERE: '${BACKUP_PATH}/latest'"
for day in $BACKUP_PATH* ; do
if [ "${day}" != "${BACKUP_PATH}/latest" ]; then
echo "$day"
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]}"