Is there a tool where I can compare multiple copies of the same file in different directories / hard drives to check if files got corrupted?

https://sh.itjust.works/post/56050223

Is there a tool where I can compare multiple copies of the same file in different directories / hard drives to check if files got corrupted? - sh.itjust.works

Like just some tool where I select all the directories then it runs a checksum against everything then tell me which files match.

It’ll depend on what OS you’re using. On linux you’d probably want to use sha1sum to generate a list of checksums of the files in one directory, then use it to check the other durectories and it’ll tell you if any files don’t match.