Change method of generating backups

This commit is contained in:
2020-02-19 23:58:02 +00:00
parent fe758271f2
commit c57c782eb5
7 changed files with 123 additions and 55 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# be safe
set -euf -o pipefail
# test these carefully
#find "${backup_folder}" -mindepth 1 -type d -print
#find "${backup_folder}" -mindepth 1 -type d -ctime +14 -print
#find "${backup_folder}" -mindepth 1 -type d -ctime +14 -exec rm -r {} \;