I accidentally deleted my files with "find -delete". Is there anyway I could recover those files?
feedback
|
migrated from stackoverflow.com Jan 18 at 6:23
This question came from our site for professional and enthusiast programmers.
|
Here's a tutorial claiming around 70% success with ext4. The tutorial works on an encrypted /home which you may or may not have. Key is to stop using the filesystem ASAP (i.e. stop using your computer soon), and run the recovery from a live CD. If you have the regular ubuntu installation CD you should be OK. It will be a rather lengthy process. | |||
|
feedback
|
|
You should have had a backup, and then you could use it. Very probably, your files are lost for ever. If you really want to undelete some of them, be prepared to spend hours or days, perhaps weeks. Read documentation about ext4 file system tools. Read (tomorrow) the ext3 wikipedia page Copy the raw disk partition before working on it. Don't work on the original file system partition, but on a bit copy. You could try extundelete, but don't hope too much. Of course, all these are command-line tools. Next time, back up your files. If your files are source code, use a version control system. | |||
|
feedback
|
|
Chances are you're probably boned. You might have good luck with extundelete, but possibly the best way to keep this from happening again is to give yourself a rudimentary equivalent to a recycle bin; you might be interested in this: | |||
|
feedback
|