hcoop-backup: Delete backups older than 10 days.
[hcoop/scripts.git] / hcoop-backup
index 0f67b5d..acecab4 100755 (executable)
@@ -44,7 +44,7 @@ function copy_over () {
 }
 
 cd $BACKUPDIR
-find . -mindepth 1 -maxdepth 1 -type d -ctime +3 -delete || true
+find . -mindepth 1 -maxdepth 1 -type d -ctime +10 -delete || true
 
 rm -rf $SUBDIR
 mkdir -p $SUBDIR