From 29efdbd3463b6794a7c383c5e0d3ad1c86fbd279 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Mon, 13 May 2024 05:36:54 +0200 Subject: [PATCH] actually delete them also --- cleanup-backups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanup-backups.sh b/cleanup-backups.sh index c8efd9cd..a3d18840 100755 --- a/cleanup-backups.sh +++ b/cleanup-backups.sh @@ -16,6 +16,6 @@ for file in $backup_files; do # Keep only the latest backup file for this volume name if [[ "$file" != "$latest_backup" ]]; then - echo "$file" + rm "$file" fi done