I am having an issue with commad line unzip and am not sure how to correct this.
I am unzipping a compressed file and it processes it correctly. If the zip file should have some files removed and it uses the same directory structure. Then that new zip file is uncompressed to the same destination as previously, with the -o option. It will overwrite the newer files (that is what i want). The problem i am experencing is the files that were removed from the new zip file are still in the destination directory structure.
How can I get the directory structure to only show the files that are in the new zip file?
Original zip file would have these files
..\foo\foo_file1.txt
..\foo\foo_file2.txt
New zip file would have this file
..foo\foo_file1.txt
When the second zip file is uncompressed the directory structure would still look like this
..\foo\foo_file1.txt
..\foo\foo_file2.txt