From 2792016c4512d4e76e47779391169434a2cfbc39 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Wed, 24 Nov 2021 11:42:09 -0500 Subject: [PATCH] fixed missing slash for json zip --- backupBitwarden.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupBitwarden.ps1 b/backupBitwarden.ps1 index 4ef1676..a82100e 100644 --- a/backupBitwarden.ps1 +++ b/backupBitwarden.ps1 @@ -73,7 +73,7 @@ $zipFilename = "Bitwarden Backup $dateTime.zip" if ($zip) { Write-Host "Zipping the backup together..." - Compress-Archive -Path $PSScriptRoot\*.csv, $PSScriptRoot*.json, $PSScriptRoot\attachments -DestinationPath "$PSScriptRoot\$zipFilename" + Compress-Archive -Path $PSScriptRoot\*.csv, $PSScriptRoot\*.json, $PSScriptRoot\attachments -DestinationPath "$PSScriptRoot\$zipFilename" if ($gpg) { Write-Host "Encrypting the backup zip with your bitwarden password..."