Answer the question
In order to leave comments, you need to log in
After deleting the contents of a file, can it be recovered?
Often you need to delete some files without the possibility of recovery. For this, they use special software and overwrite with other files from above. But the question is interesting - is it possible to restore the file if you delete its contents with the same notepad and save it?
Answer the question
In order to leave comments, you need to log in
Much depends on the file system.
Some filesystems write changes to new blocks.
If you write zeros and ones to the file before deleting, and even several times, then you can’t, as far as I know. In other cases it is possible.
Yes, at least in FAT it is possible to recover. The "tail" above the current file length remains on disk. I suppose that in other fs too.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question