Create cleanup_backups.sh
This commit is contained in:
3
cleanup_backups.sh
Normal file
3
cleanup_backups.sh
Normal 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 --
|
||||
Reference in New Issue
Block a user