From 905733fff37dbc2bfebe642a20ab2d7d46dc5c49 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 1 Aug 2023 13:13:38 +0200 Subject: [PATCH] Delete files after backup --- scripts/Windows/OS/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index b3d2c044..fe2a0c2e 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -10,7 +10,7 @@ function Backup-WindowsInstallation([Context] $context) { $backupRoot = $context.BackupRoot(); Backup-PersonalFiles $context; Backup-PersonalApps $context; - $context.Backup($backupRoot, "$backupRoot.7z", @(), $false); + $context.Backup($backupRoot, "$backupRoot.7z", @("-sdel"), $false); $context.Cleanup(); }