Is there a safe way to run a diff on two zip compressed files?

前端 未结 13 1081
长发绾君心
长发绾君心 2020-12-16 12:49

Seems this would not be a deterministic thing, or is there a way to do this reliably?

13条回答
  •  别那么骄傲
    2020-12-16 13:33

    zipcmp compares the zip archives zip1 and zip2 and checks if they contain the same files, comparing their names, uncompressed sizes, and CRCs. File order and compressed size differences are ignored.

    sudo apt-get install zipcmp

提交回复
热议问题