Compare two different zipfile and check if the text file was only existed in one file?

Hi, @fniedez

Workflow image:

Invoke PowerShell:

"
param ($path)
[IO.Compression.ZipFile]::OpenRead($path).Entries.FullName
"
image

Invoke PowerShell properties:

image

Invoke PowerShell parameters:

ELSE IF EXPRESSIONS:

FIles_ZIP_A.Any(Function(x) x.ToUpper.Trim.Equals(“CORRELATION_ORDER.TXT”)) and FIles_ZIP_B.Any(Function(x) x.ToUpper.Trim.Equals(“CORRELATION_ORDER.TXT”))

Both ZIP Files has the ORRELATION_ORDER.TXT

Else IF

FIles_ZIP_A.Any(Function(x) x.ToUpper.Trim.Equals(“CORRELATION_ORDER.TXT”))

Only ZIP A has the ORRELATION_ORDER.TXT

Else IF

FIles_ZIP_B.Any(Function(x) x.ToUpper.Trim.Equals(“CORRELATION_ORDER.TXT”))

Only ZIP B has the ORRELATION_ORDER.TXT

1 Like