Update mysqlbu-scripts.sh

This commit is contained in:
2019-03-04 01:00:33 -06:00
parent f436a41ceb
commit b6d366f8c6

View File

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