Genocidicbunny
Bug squasher
I dont think that is possible. There is no one way a file can be a corrupt.
For instance, lets say I have a .rar file. If I rename it to a .jpg, it will be a corrupt jpeg, but still a valid rar archive. You'd need a program that can recognize not only every type of file (damn near impossible, there are tons of file name extensions) or recognizes the type of data in the file (same problem) and can then see if it corrupt.
One of my CS professors used to tell us: "There is but one way a file can be non-corrupted but an infinite number of ways it can be corrupted."
For instance, lets say I have a .rar file. If I rename it to a .jpg, it will be a corrupt jpeg, but still a valid rar archive. You'd need a program that can recognize not only every type of file (damn near impossible, there are tons of file name extensions) or recognizes the type of data in the file (same problem) and can then see if it corrupt.
One of my CS professors used to tell us: "There is but one way a file can be non-corrupted but an infinite number of ways it can be corrupted."