Can't remove corrupted file from external drive
Hi all,
I have been working on fixing this for hours now but can't seem to find the solution. Here's what happened:
While copying over files from my macbook pro to an external drive it gave an error code (can't remember which one) and stopped the process. When I then looked at the folder that has the newly copied files there are 10 files of which one is grayed out. The drive has become very slow and when I try to delete the grayed out file it gives me the following error: The operation can’t be completed because an unexpected error occurred (error code -50).
So I have been struggling with Terminal and all sorts of commands (sudo rm –f , sudo rm -rf , ls -lO , ls -lOd .) etc etc but to no avail. I also tried to move the file from the drive, re-copy the file to the drive but nothing works.
Is there anything that I am missing here? The drive is rather important to me so reformatting is not really an option at the moment as I really need the data that is on the drive.
I hope there is something else that I can do apart from what I have tried. It seems like the file is just stuck in the copy process and therefor does not allow any other operation.
Thanks a lot for helping me out with this...
Cheers Jacob
MacBook Pro (17-inch Early 2011), Mac OS X (10.7.5)