Quote:
Originally Posted by
COKEDUDE
I accidentally deleted a very important directory today with this rm -r. What would be the recommended way to recover my directory?
First off, stop writing to your home folder, at all. Unmount it if you can. Every write could be overwriting files you want back.
What
is your filesystem, anyway?
Quote:
After a lot of googleing I have seen these choices. Could I get some recommendations please?
Testdisk
Photorec- Doesn't recover file name like I would like.
Is files with no names better than no files at all? I don't know a tool that can put back "rm -rf" like it never was, you
deleted them so take what you can get. Depending on file type, there may be metadata in the files that'd help name them anyway.
Quote:
I have encrypted home directory.
You'll need to decrypt it into a format that looks like a normal volume for nearly any tool to touch it.
Much the same idea as photorec, but more powerful, capable of extracting more kinds of files. Also sloooooooooooooooow.