From 2d3c138ccdabe434bddafc667f2045188bdec5a4 Mon Sep 17 00:00:00 2001 From: Ssyleric <47066760+Ssyleric@users.noreply.github.com> Date: Tue, 29 Apr 2025 21:56:59 +0200 Subject: [PATCH] Create cleanup_backups.sh --- cleanup_backups.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cleanup_backups.sh diff --git a/cleanup_backups.sh b/cleanup_backups.sh new file mode 100644 index 0000000..4944ebe --- /dev/null +++ b/cleanup_backups.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd /mnt/ssd4to/ha || exit 1 +ls -1t *.tar 2>/dev/null | tail -n +11 | xargs -r rm --