Ask Your Question

How to retrieve deleted data ?!

asked 2018-06-18 17:15:07 -0500

Mo_Geek gravatar image

Hello Guys, i was just installing pycharm on my fedora 27 then established a virtual environment and saved it to the "Home" directory but i do not know what happened later , i just want to remove the previous virtual env but every thing got deleted with it on the home directory (the things on the downloads, documents,...etc ). Even my firefox browser data including Bookmarks, history,.... every single piece of my data. ""the machine goes default"" every thing related to the system goes default. i really need to retrieve every thing to the original. i have used some of the backed up data but i did not make any copy of the rest of my browser data. For my machine i do not know how to retrieve any thing. i have just tried a software called (Testdisk) but it did not work. So, please i need your help. Thanks in advance.

edit retag flag offensive close merge delete


Restore from backup. You do have backups, right? If not then this is the perfect time to learn about them.

Aeyoun gravatar imageAeyoun ( 2018-06-22 15:30:00 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-06-19 05:26:50 -0500

hhlp gravatar image

updated 2018-06-19 06:00:23 -0500

TestDisk, Data Recovery

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

PhotoRec, Digital Picture and File Recovery

PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, and lost pictures (thus the Photo Recovery name) from digital camera memory. PhotoRec ignores the file system and goes after the underl ying data, so it will still work even if your media's file system has been severely damaged or reformatted.

the software is in the main fedora repo :

testdisk.x86_64 : Tool to check and undelete partition, PhotoRec recovers lost files

sudo dnf install  testdisk

note : same packages provide this two command. tesdisk and photorec.


edit flag offensive delete link more

answered 2018-06-19 00:36:57 -0500

abadrinath gravatar image

Did you attempt to remove the virtual environment using rm? Or did you drag it to the trash using a GUI? Or did you do something else?

If you did an rm, you're somewhat out of luck. Sorry about that.

The GUI deletion is definitely salvageable. Check your recycling bin, etc.

Let me know the exact method of deletion and I can further assist you.

edit flag offensive delete link more


Here is what i did to remove the virtual environment. I do not know if i was on my mind at this specific time or not whatever. i just open up Pycharm then i established a new virtual environment, a pop-up has come asking me to choose a directory. Then i went to the home directory which i wanna delete the old one first and i realized i just have deleted all the home directory with every thing stored on it and the machine goes default even the Terminal shows me "bash 4.4" rather than the the directory name and its information.

Mo_Geek gravatar imageMo_Geek ( 2018-06-19 18:36:11 -0500 )edit

Question Tools



Asked: 2018-06-18 17:15:07 -0500

Seen: 520 times

Last updated: Jun 19 '18