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

Posted by Basil on Super User See other posts from Super User or by Basil
Published on 2010-10-21T17:27:43Z Indexed on 2011/01/10 22:55 UTC
Read the original article Hit count: 154

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?

© Super User or respective owner

Related posts about compression

Related posts about zip