Unfortunately, I deleted my /home/ directory by running "rm -rf *" accidentally. The partition (/dev/sda3/) has an ext3 filesystem. After deleting the /home directory, I shutted down the PC and rebooted from a RIPLinux liveUSB, which has some tools that allowed me to recover some files. However, what I would like to do is to recover the directory tree structure, rather than the files, in order to see which files I deleted.
What I exactly want is the following:
I would like to have the output of "ls -lR /home/" before deleting all the files, but the problem is that now the /home directory is empty.
I hope I have explained clearly what I would like to do, I still have to improve my english.
Any help would be much appreciated!!
If I understand you correctly, you can't get what you want.
You seem to want a directory listing for your home directory before you deleted everything. Since none of us (?!) have a home directory that looks exactly like yours, I don't think we can help. (If you wanted to know, say, the basic layout of /etc in Debian, someone could help with that, as a counter-example.)
Home directories begin life empty (or very nearly so - a few Bash configuration files are probably there by default), so I think only you can determine what it looked like - from memory or backups (if you have any).