diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index a5093bc..2c777ee 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -51,11 +51,9 @@ DELETE_BACKUP() { tba=`expr $tba + 1` done - for x in "${!tbus[@]}"; do printf "[%q]=%q\n" "$x" "${tbus[$x]}" ; done - + bsz=`du -sh ${tbus[$1]} | awk '{print $1}'` IFS=/ sbu1a=(${tbus[$1]}) - bsz=`du -sh ${tbus[$1]} | awk '{print $1}'` if [ ${#1} = 1 ]; then echo -e "Backup selected: ${idsCL[Red]}${idsST[Bold]}`date -d"${sbu1a[4]}" +"%A, %B %d, %Y"`${idsST[Reset]} ${idsCL[Red]}(${bsz})${idsCL[Default]}"