LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   I have deleted a file thru rm can i recover it (http://www.linuxquestions.org/questions/linux-general-1/i-have-deleted-a-file-thru-rm-can-i-recover-it-458644/)

ricka343 06-27-2006 12:33 AM

I have deleted a file thru rm can i recover it
 
Please help its urgent

it was a .java file i hav its .class wid me but the .java i hav deleted accidently

SlackDaemon 06-27-2006 12:52 AM

The following thread discusses a similar problem:

http://www.linuxquestions.org/questi...d.php?t=457810

best of luck!

spooon 06-27-2006 03:28 AM

Quote:

Originally Posted by ricka343
Please help its urgent

it was a .java file i hav its .class wid me but the .java i hav deleted accidently

In general, no; rm is designed to delete permanently. Limited undelete may be possible depending on your filesystem. What is your filesystem?

Java bytecode can usually be decompiled pretty easily. If it is important that you have some source code, then here are some old decompilers you can try: Jad, JODE. It won't be the same as the original source code (the names of variables, comments, and some of the structure of the code will be lost), but it will give working source code.


All times are GMT -5. The time now is 06:20 AM.