So like many people lots of my jpg photos had not been properly backed up with parity bits and all my backup copies had become corrupted due to "silent data corruption".
I scanned my drive using the software Bad Peggy as recommended by this post: Automating the scanning of graphics files for corruption
The software shows that 7k out of my 500k photos had been corrupted. Upon visual inspection, only around 200 photos had suffered from visual corruption. The vast majority had been corrupted in some other way (metadata, file format, etc) that doesn't affect the file visually. Nonetheless, this is annoying as I can't seem to publish any of these corrupted files with Lightroom or other software.
I'm wondering if there are any software solution to fix/strip/reformat these corrupt images so they are no longer flagged as corrupted?