summaryrefslogtreecommitdiff
path: root/remove-old-backups.in
diff options
context:
space:
mode:
Diffstat (limited to 'remove-old-backups.in')
-rwxr-xr-xremove-old-backups.in2
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 | \