HCoop
/
clinton
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://mire.hcoop.net/home/mwolson_admin/hcoop-git/misc
[clinton/scripts.git]
/
hcoop-backup
diff --git
a/hcoop-backup
b/hcoop-backup
index
0f67b5d
..
111daca
100755
(executable)
--- a/
hcoop-backup
+++ b/
hcoop-backup
@@
-44,8
+44,8
@@
function copy_over () {
}
cd $BACKUPDIR
}
cd $BACKUPDIR
-find . -mindepth 1 -maxdepth 1 -type d -ctime +
3 -delete || true
-
+find . -mindepth 1 -maxdepth 1 -type d -ctime +
10 \
+ -execdir rm -fr '{}' \; || true
rm -rf $SUBDIR
mkdir -p $SUBDIR
mkdir -p $BACKUPTMP
rm -rf $SUBDIR
mkdir -p $SUBDIR
mkdir -p $BACKUPTMP