阅读背景:

Bash—比较两个文件列表和它们的md5校验和

来源:互联网 

I have 2 lists with files with their md5sum checks. The lists have different paths even that the files are the same. I want to check the md5 sums of each file. We are talking for thousands of files and that's why I need script to show me only the differences. The first list is the vanilla and the second is the current state of the files. I want to find which of the files are changed/different than the original. To do that I want to compare the 2 lists. On every line there is md5 sum and file location/name. Did anyone have an idea how to do that? And what happens if there is one extra file in one of the lists?!I have 2 lists with files with their md5sum che




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: