Aug 22
How to undelete files from ext3/ext4
Computer, Linux No Comments »Sometimes, especially on the command line, it happens that you delete a file or directory you didn’t really plan to delete. A second after hit enter you realize what you have done, maybe you are fast enough to stop the deletion process and save some files, but in the most cases it’s already to late, at least for some files. If you have no or a too old backup you’re screwed.
If you use ext3/ext4 you may be able to recover the file with ext3grep or extundelete with information from the file system journal if the content of the file wasn’t already overwritten by new data.
The first step should be to stop all writing processes on the related partition and unmount that partition as...