I seem to have deleted all my files while removing the wine from the home directory
rm -rf $HOME/ .wine
I see a space there ... You nuked your home with that.
Does anyone have a clue how to recover/show my removed/hidden files?
Got a backup? If so use that. Otherwise ...
- do NOTHING with that system. N O T H I N G. Any change to that bit of the disk lowers your ability to recover anything from it.
- Boot up a Live DVD and install "testdisk" in it.
- Run testdisk and have it scan that partition.
- Start praying.
Here
rm -rf $HOME/ .wine
There is a space between $HOME
and .wine
. So, it means that rm
has to force (f
) the recursive (r
) removal of both $HOME
and .wine
.
So, you chose to remove all the things in your home folder :)
There is no "undo" option here, the best solution is to recover from a previous backup.
Or, you can try from a live file system to use testdisk
and photorec
in order to recover your data.
Please note that, if you used the computer after the disaster occurred, it is highly unprobable that you will succeed at it.