Sometimes, my files become corrupted without me noticing - this happens to my photos a lot. This doesn't bother me when I notice it because I have backups. It's growing to be a pain to manually go over all the photos from time to time (I have tens of thousands). What can I do to automatically detect if a file has been corrupted?
So far, the only method I have found is to use MD5 checksums. But I haven't found a way to automate this.
For example, if I have a folder with 500 pictures, how I do determine if the MD5 checksums for the photos have changed since last time I checked?