There are a lof of answers in regards to this issue, but unfortunately I did not grasp how to make them work
I accidentaly deleted almost all home directory (the directory itself is remaining, but now contains negligible amount of files). I interested in restoring my information, in parcticular in txt, py, ipynb files.
As far as I understand I could try GREP option with mentioning the initial string of the files (in my case it would be either '!#usr', ''', """ or 'import'). Could you please give me any advice about that option.
I also have read that I can restore the partition table via testdisk >> analyse. But I don't know, is it fit for my case (as my partition table is apparently OK)?
Is there anything else I can do?
Isn't it strange, that none of the attempts successeded? Maybe I messed up something, as after only two minutes I rebooted the laptop from a liveUSB. I am quite new to Linux and I am very surprised that there is no way to restore the infomation. Hope, that I did something wrong:) and there is a way to redeem.
I deleted files via python script(I wanted to delete 'temp' directory but instead deleted it's parent)
Lubuntu 16.04, Acer Aspire 5750ZG