From 4651726268475fa61353af6b0ac389af19c94418 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 14 Oct 2025 08:36:53 -0700 Subject: [PATCH] Do a full truncate of backup directory so that partial zips with weird hash names and no file extension get deleted as well. --- tasks/general/acct_mgmt/users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index b672303..069f502 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -790,7 +790,7 @@ alias system-backup="backup" alias check-backups="ll /srv/backup" function clean-backup { - sh -c "rm -rfv /srv/backup/*.zip /srv/backup/TRASH" + sh -c "rm -rfv /srv/backup/*" } alias clean-backups="clean-backup" function_log: |