View Single Post
Old 08-16-2013, 01:46 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by fris View Post
ya it wasnt under version control or cloud, i deleted it from a dedicated where i dont have backups ;)
You could try cat/more/less on the entire drive device to search for a specific string you know is in your source. I did this once when I stupidly deleted source.c instead of the compiled executable. Took a while to sift through 300GB of data, but I found and recovered it.

edit: now I think about it, I believe it was something more stupid, like gcc -o source.c source.c, which overwrites the original source with the compiled program. hurrrr

Last edited by rowan; 08-16-2013 at 01:53 PM..
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote