diff options
-rwxr-xr-x | remove-old-backups.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remove-old-backups.in b/remove-old-backups.in index c931409..e1a795d 100755 --- a/remove-old-backups.in +++ b/remove-old-backups.in @@ -61,7 +61,7 @@ backups=$( uniq -f2 printf '%s\n' "${backups}" | \ sed "$( - for dist in $(seq 0 20 365); do + for dist in $(seq 0 20 180); do printf '/ %s \S\+$/p\n' \ "$(date '+%m %Y' -d@$(($(date +%s)-24*60*60*${dist})))" done | \ |