Can anyone help me out in getting back a deleted file in linux. Instead of giving this command " rm -rvf *~ ", I gave " rm -rvf * ".
Is there any way to get all files back ??
migrated from stackoverflow.com Jul 2 '10 at 12:27
This question came from our site for professional and enthusiast programmers.
First think to do is power off the computer to avoid writing in the disk you delete your data.
After that, you can use one of several tools existing to recover. I like http://www.cgsecurity.org/wiki/PhotoRec, but it recover several file types an not only photos :)
You can also do an image of the disc you have deleted the files, and them, with your system up and running recover the files from the image (this works with photorec).
Some time ago I've similar problem and I find several tools to try recover the data. Each tools have some pros and cons. You can check this http://www.h-online.com/security/features/Digital-autopsy-747165.html and you will get an overview how data forensics works and in the last page you have listed some tools.
I have successfully recovered deleted files from my ext3 partition using ext3grep.
Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?