tool for searching a network drive for corrupt files
-
Hi, I have been the lucky one at work tasked with finding and removing all corrupt files on a 10 TB network drive. I have spent a lot of time looking for a command/script/program that will search the drive and identify all corrupt files, automatically deleting them would be nice but what I need is them identified so that i don't have to keep checking every file manually. I can perform this on either Linux or windows so a command on either platform that can achieve this task would be great! Thanks in advance!
-
Hi, I have been the lucky one at work tasked with finding and removing all corrupt files on a 10 TB network drive. I have spent a lot of time looking for a command/script/program that will search the drive and identify all corrupt files, automatically deleting them would be nice but what I need is them identified so that i don't have to keep checking every file manually. I can perform this on either Linux or windows so a command on either platform that can achieve this task would be great! Thanks in advance!
Define corrupt.
========================================================= I'm an optoholic - my glass is always half full of vodka. =========================================================
-
Hi, I have been the lucky one at work tasked with finding and removing all corrupt files on a 10 TB network drive. I have spent a lot of time looking for a command/script/program that will search the drive and identify all corrupt files, automatically deleting them would be nice but what I need is them identified so that i don't have to keep checking every file manually. I can perform this on either Linux or windows so a command on either platform that can achieve this task would be great! Thanks in advance!
That's a hell of a project. You'll need to attempt to parse files as specific file types and make sure that they can be read. That means you'll need the spec or a fast execution environment for each and every file type on the system. If you generally have a lot of one sort of file (say, .pdf) you can speed your search up by making a script that verifies that it can open each with itextsharp, for instance.
"There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli