2

I have a TON of data recovered from a formatted disk and I need to filter out the files that have been partially overwritten and, therefore, are unreadable and useless.

  • What OS must be supported? Which file types must be recognized? – Izzy Jul 14 '15 at 11:18
  • @Izzy Sorry, I forgot to put that in. Windows 7+ and any user data (images, videos, audio, documents, etc). – mythofechelon Jul 14 '15 at 12:06
  • OK. Windows is not my environment (except those for light and fresh air), so I cannot really recommend anything. While waiting for answers, you might wish to take a look at Find all corrupted files and folders on the hard drive – and other results from my quick Google-Fu. – Izzy Jul 14 '15 at 12:14
  • @Izzy Yes, I did some searching with Google and DuckDuckGo but all I found was either corrupt file finders for very specific types of files (PDFs, JPGs, etc) or resolving corrupt Windows files. Thanks anyway. – mythofechelon Jul 14 '15 at 14:35
  • I doubt that you will be able to find any such tool. the internal data structures in the files are corrupt, and only software that knows how the data is supposed to be organized, is able to find errors. The programs that they weer intended for are you best bet, especially because these often allow for minor variations and errors in the files. – Jan Doggen Jul 17 '15 at 11:08
-1

I also found the link suggested by @Izzy in the comments.

Article from mysysadmintips.com

This article suggests using the program Robocopy to perform a copy of the folder where your corrupted files are and it will copy all the files that are not corrupted and provide a list in the log of all the files that it skipped.

Here is the exact command they recommend:

robocopy "D:" "E:" /E /COPYALL /R:0 /TEE /LOG:"C:\robo-log.txt"

"D:" - Source

"E:" - Destination

/E - copy subdirectories, including Empty ones.

/COPYALL - copy all file info

/R:0 - number of retries - 0. (Skips corrupted files instead of constantly retrying).

/TEE - output to console window, as well as the log file.

/LOG:"C:\robo-log.txt" - path to the log file.

  • Is there a robocopy command to only log corrupted files as I don't want to duplicate the healthy data? Thanks. – mythofechelon Jul 15 '15 at 8:25
  • A comment I saw on that website said that unless the process actually copies the files it only looks at the file index so does not detect corruption. – OrangeKing89 Jul 15 '15 at 13:16
  • That didn't seem to work. No files were skipped or failed but plenty were corrupted. Also, the command should be robocopy "D:" "E:" /E /COPYALL /R:0 /TEE /LOG:"C:\robo-log.txt" - there was a space between / and COPYALL which threw an ERROR : Invalid Parameter #4 : "/" error. – mythofechelon Jul 16 '15 at 11:46
  • 1
    This does not answer the question. The OP has files that were recovered, i.e. their organization in the file structure is correct and their disk sectors are OK. So RoboCopy will not find any errors. It's the internal data structures in the files that are corrupt. – Jan Doggen Jul 17 '15 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.