Remove existing backup files

This commit is contained in:
Manuel Thalmann 2023-08-05 03:03:57 +02:00
parent d4a64e8e71
commit a944f8d575

View file

@ -159,6 +159,10 @@ class Context {
Remove-Item -Recurse $archivePath;
}
if (Test-Path "$archivePath.*") {
Remove-Item -Recurse "$archivePath.*";
}
Start-Process -WorkingDirectory "$sourcePath" `
-FilePath "7z" `
-ArgumentList (