I am a little concerned about one of my disk drives and afraid that I might be overwriting good backups of it with corrupt files.
I would like a tool which recursively scans all directories and tests the integrity of each individual file.
Unfortunately, that means a different check for each file type, so such a tool may either not exist or may be limited, but I would like to know what is out there.
In rough order of what I want to verify:
- photos
- videos
- eBooks
- archives
- MS office documents
- mp3 / flac / ogg
- anything else is a bonus
A huge bonus would be if the tool were to attempt to repair corrupted files, but that is probably too much to ask.
[Update] many posters don't seem to read or understand the question. I am not concerned with MD5 or checksum; I am talking about files which have a known internal structure, where it can be detected if that internal structure is not consistent/corrupt.
And, as a bonus, which can be repaired if that internal structure is (slightly) corrupted - for instance, rescue the photo from a JPEG if EXIF info or thumbnail is corrupt, rescue music from MP if the IDtags are corrupt; there are programs available which will repair corrupt ZIP files, MS Word & Excel etc