Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 zip files:

I want to compare the two zip files and then only extract the files missing in (directory structure intact) so that I can merge them in.

Additionally, is there any way in linux to merge the 2 files (meaning only put files missing in from


share|improve this question

migrated from Jan 3 '13 at 4:36

This question came from our site for professional and enthusiast programmers.

Check out zdiff. As far as merging only specific files, I don't know if this is possible in the manner that you want to do it. – squiguy Jan 3 '13 at 2:50

It's as easy as 1, 2, 3:

1) unzip in new directory
2) unzip allowing overwrites in same directory
3) zip files in existing directory

share|improve this answer

You must log in to answer this question.