Recovering a corrupt text file
My computer crashed pretty badly, and as a result something rather big and precious that I've been working on all year combusted on me. It shows as a 0 kb file and is indeed quite empty if I open it. Fortunately, I did have a backup file, but it's several days old, meaning there's a decent chunk of text that I lost with this and would like to recover.
The weird thing is, if I use the search function to find some text from within the file, it does find them - apparently the entire thing is still there, hidden behind some weird thing that I cannot get through, taunting me. So the crash didn't just save a completely blank bit over the old text, it just placed it over it like some kind of an invisibility cloak.
Any help on how to penetrate this barrier?
The weird thing is, if I use the search function to find some text from within the file, it does find them - apparently the entire thing is still there, hidden behind some weird thing that I cannot get through, taunting me. So the crash didn't just save a completely blank bit over the old text, it just placed it over it like some kind of an invisibility cloak.
Any help on how to penetrate this barrier?
0
Comments
Other than that, you could possibly use some file recovery software—though they typically deal with deleted files rather than corrupt files, so it is difficult to tell just how much success you will have.
Anyway, try scandisk, which sorts out FAT problems, and if that fails, looking at the drive in linux generally reveals all.
You wouldn't be willing to share the file, would you?
Not that it really matters anymore: it turned out to be easy enough to replicate what I'd written there, now that I had a good idea on where it was going in the first place.
Also, no, I would not like to share it. Not yet. Perhaps later.
Well , I have written something different before , I checked a sample .rtf , and there is indeed the text in plain therein. All you need is to develop an algorithm in C++ , to harvest the text you need and write it into a plain .txt , if you need to save time and the file is too big. Otherwise you can do it by hand and eye , and a lot of time