Un-commenting rm-rf
This commit is contained in:
parent
85d121c562
commit
b2a73dcb36
|
@ -39,7 +39,7 @@ else
|
||||||
for i in `find $BACKUPDIRDEST/ -maxdepth 1 -type d -mtime +$NUMDAYS -print`;
|
for i in `find $BACKUPDIRDEST/ -maxdepth 1 -type d -mtime +$NUMDAYS -print`;
|
||||||
do
|
do
|
||||||
echo -e "["$(date)"] - Found backup folder from $(stat -c %y $i)! Deleting directory $i";
|
echo -e "["$(date)"] - Found backup folder from $(stat -c %y $i)! Deleting directory $i";
|
||||||
#\rm -rf $i;
|
\rm -rf $i;
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user