Update mysqlbu-scripts.sh
This commit is contained in:
@@ -55,13 +55,8 @@ DELETE_BACKUP() {
|
||||
|
||||
IFS=/
|
||||
sbu1a=(${tbus[$1]})
|
||||
|
||||
bsz=`du -sh ${tbus[$1]} | awk '{print $1}'`
|
||||
|
||||
echo ${tbus[$1]}
|
||||
echo "${sbu1a[0]}-${sbu1a[1]}-${sbu1a[2]}-${sbu1a[3]}-${sbu1a[4]}"
|
||||
printf '%s\n' "${sbu1a[@]}"
|
||||
|
||||
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]}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user