Hello! I trust BC and I think I simply need some hint to do what I want.
I have some hundreds of zip files (backups) which are all binarily different, but I know for sure that most are the same content-wise.
I know how to compare zip files with the gui: in hex they have some different bytes, and by content they are the same. That is plain.
Now, how can I compare two zips contents on the command line? How should I interpret the response?
Is "Binary differences" (11) meaning that the content is the same?
What does it mean "Similar" (12)?
Should I aim for "Rules-based same" (2)?
My idea is to write a batch file to compare each couple of zips and delete one of them if they have the same content. I will have no problem doing that (if BC has a way of automating EVEN THAT that would be incredible
Anyway, comparing content, ignoring zip wrapper differences would be great in general.
Of course I could unzip the files, compare, take a decision and so on, but I thought that if I can do that with the gui it should be possible to do it also on the command line.
Thank you for any suggestion!
I have some hundreds of zip files (backups) which are all binarily different, but I know for sure that most are the same content-wise.
I know how to compare zip files with the gui: in hex they have some different bytes, and by content they are the same. That is plain.
Now, how can I compare two zips contents on the command line? How should I interpret the response?
Is "Binary differences" (11) meaning that the content is the same?
What does it mean "Similar" (12)?
Should I aim for "Rules-based same" (2)?
My idea is to write a batch file to compare each couple of zips and delete one of them if they have the same content. I will have no problem doing that (if BC has a way of automating EVEN THAT that would be incredible
Anyway, comparing content, ignoring zip wrapper differences would be great in general.
Of course I could unzip the files, compare, take a decision and so on, but I thought that if I can do that with the gui it should be possible to do it also on the command line.
Thank you for any suggestion!
Comment