Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Some files on my hard drive are corrupted (no worries, nothing system-related, just a junk of data files, mp3 etc.). I found that out when I tried to burn them all to a DVD, the burning application show a message that it cannot read the files as they are corrupted. [This is probably a drive issue, it had happened me once or twice already].

I don't care about recovering them, but I have to determine which ones are corrupted. I cannot check by manually opening them all, as there are thousands of them. Is there any tricky way to check all the files and list the ones that may cause problems when tried to open?

share|improve this question
    
What type or filesystem are those files in? What application are you using to burn them? –  luri Mar 2 '11 at 18:41
    
Try this: copy all those files to another location in your hard disk to see if the corrupted ones are "left behind", i.e., not copied, but you can copy the rest of them.... –  luri Mar 2 '11 at 18:45
add comment

1 Answer

up vote 1 down vote accepted

do what luri suggested (copy the files somewhere else). then, use a diff tool like meld (sudo apt-get install meld) will be very helpful by doing a directory comparison between the original and the copy. you can filter out the identical files, and only see the differences. That's how I found some files corrupting a sync recently.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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