Thursday, 5 September 2019

compression - Is there a tool for verifying the contents of a Zip archive against the source directory's contents?


Here's the scenario:



  • I create a ZIP archive using some GUI package like WinZip, 7-Zip or whatever by right-clicking on a directory "somename" and selecting "Compress to archive 'somename.zip'"

  • When the archive is completed, I open it and discover that some files don't exist in the archive (for reasons yet unknown).

  • I want to find all files that are missing from the archive without having to extract the archive to another directory, then doing directory diff, etc.


So..


Is there a tool (GUI or command-line, standalone or built into a compressor, for Windows or Linux, I don't care) that can walk through an archive and compare its contents against a directory on the filesystem?



Answer



Its not a free tool, but Beyond Compare supports this. If you're going to be doing much as far as diffs go Beyond Compare is well worth the cost.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...