Create cleanup_backups.sh

This commit is contained in:
Ssyleric
2025-04-29 21:56:59 +02:00
committed by GitHub
parent b01f934a6b
commit 2d3c138ccd

3
cleanup_backups.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
cd /mnt/ssd4to/ha || exit 1
ls -1t *.tar 2>/dev/null | tail -n +11 | xargs -r rm --