From: Bastian Dehn Date: Thu, 29 May 2025 04:47:35 +0000 (+0200) Subject: rotate ten times history X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3836fc4d79459415d6504d145f1fb1a6a0c981b2;p=simple-backup.git rotate ten times history --- diff --git a/backup b/backup index 1677ae8..b106672 100755 --- a/backup +++ b/backup @@ -41,7 +41,7 @@ rotate_history() && history_lines=$(cat $history_file | wc -l) echo "ℹ️ INFO: $history_file has $history_lines lines" [ $history_lines -ge 100 ] \ - && savelog -c 7 -l $history_file \ + && savelog -c 10 -l $history_file \ && echo "ℹ️ INFO: $history_file rotated" }