Update mm-scripts.sh
This commit is contained in:
@@ -1197,7 +1197,8 @@ SERVICERESTORE(){
|
||||
echo -e "[${idsCL[LightCyan]} 1${idsCL[Default]}]${idsCL[White]} ${fulldate} - Full Backup${idsCL[Default]}"
|
||||
|
||||
f=2; declare -a rdates
|
||||
for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
|
||||
# for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
|
||||
for bakfile in `find ${BACKUPDIR} -name "${fcheck}.*.tgz" -type f -printf "%f\n" | sort -n`; do
|
||||
fname=${bakfile##*/}
|
||||
fdate=${fname#*.}; fdate=${fdate%.*}
|
||||
rdates[${f}]="${fdate}"
|
||||
|
||||
Reference in New Issue
Block a user