I have two files:
oldlist
- This contains a list of files and a md5 hash for each file. This was generated one year ago.newlist
- This also contains a list of files and a md5 hash for each file. However, some files have been changed (e.g. their md5 hash is different) and some new files have been added.
I would like to see all differences between oldlist
and newlist
, but I want to ignore any files which don't exist in oldlist
.
That is, I don't care about new files. I only want to compare the md5 hashes for each old file, so that I can see if any files have changed within the last year.
I have tried diff and comm, but have not found a solution yet.