How to compare two tarball's content

后端 未结 11 822
北海茫月
北海茫月 2021-01-31 15:18

I want to tell whether two tarball files contain identical files, in terms of file name and file content, not including meta-data like date, user, group.

However, There

11条回答
  •  遥遥无期
    2021-01-31 16:18

    Try also pkgdiff to visualize differences between packages (detects added/removed/renamed files and changed content, exist with zero code if unchanged):

    pkgdiff PKG-0.tgz PKG-1.tgz
    

提交回复
热议问题