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