How I can restore files and folders. I've deleted my home folder recursively. :(
Trying to restore files and folders may become a hard and difficult task my friend, but you can find useful answers in this question: Formatted and lost 6 years worth of photo memories.. any way to get this back?
This is what I said, and worked for me, placed here for your convenience:
You may wish to take a look at this: Recovering deleted data from deleted partition- solved
It's quite long, my personal experience when I accidentally removed the whole partition on a 500GB HDD.
*The procedure I used is documented at the very bottom, placed here for your convenience:
IMPORTANT: Try not to use forensic recovery procedures and not to use MS based recovery tools in the first instance.**
Anyway, this can be useful even if you deleted the whole partition (as I did then), and if you wish to run the risk to use forensic recovery procedures, I suggest you the usage of foremost, which will bring back all the data you had stored in a specific place, but WARNING: This will bring back all the stuff that were saved into these folders since the beginning of the times.
If you have deleted anything on your computer using Linux OS; don't panic because everything is there. You only need a way to get your data back. For this, follow these easy steps:
And you are done with your deleted documents.
Read this for more details.
If you are using Ext2, then you can use Midnight-Commander's Undelete function.
But the Debian versions used to have M-C compiled without it; maybe it's different now though. So I used an old copy of Suse-8 [on another drive & which I keep for just that purpose].
So from then on [& forevermore] I shall stick to Ext2 for that reason.