HCoop
/
clinton
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb661c3
)
hcoop-backup: Only keep 2 backup runs lying around.
author
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Thu, 5 Jun 2008 00:54:15 +0000
(20:54 -0400)
committer
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Thu, 5 Jun 2008 00:54:15 +0000
(20:54 -0400)
hcoop-backup
patch
|
blob
|
blame
|
history
diff --git
a/hcoop-backup
b/hcoop-backup
index
111daca
..
0d1d520
100755
(executable)
--- a/
hcoop-backup
+++ b/
hcoop-backup
@@
-44,7
+44,7
@@
function copy_over () {
}
cd $BACKUPDIR
-find . -mindepth 1 -maxdepth 1 -type d -ctime +
10
\
+find . -mindepth 1 -maxdepth 1 -type d -ctime +
7
\
-execdir rm -fr '{}' \; || true
rm -rf $SUBDIR
mkdir -p $SUBDIR