|
I'm developing a script to handle some backups by compressing several different directories, and I would like to put them all into the same .zip file. The first Write-Zip creates the target file, and then successive calls use the -Append switch:
Write-Zip $SourceDir -IncludeEmptyDirectories -Append -OutputPath $Target
Each of these calls results in the following exception:
Write-Zip : Extra data extended Zip64 information length is invalid
At line:1 char:10
+ Write-Zip <<<< $SourceDir -IncludeEmptyDirectories -Append -OutputPath $Target
+ CategoryInfo : OpenError: (D:\Data\Data...21-11-14-17.zip:UnresolvedPscxPathImpl) [Write-Zip], ZipException
+ FullyQualifiedErrorId : ZipOpenFail,Pscx.Commands.IO.Compression.WriteZipCommand
Am I doing something wrong here? What do I check?
Thanks in advance!
|