On Friday 02 January 2004 15:09, Richard Eibrand wrote:
> Happy New Year and all that business. I just got a distress call from a
> friend of mine, who was doing a bit of coding on the bus.
>> He inadvertantly mixed up his command line call to g++, and passed an old
> object file as the source code, and the source code file as the -o output
>> The short of it, his source code is gone bye bye, and he [bad man] had not
> ,made any recent backups of his file, nor had he used cvs or rcs [/end of
> bad man].
>> Is there any way he can recover his source code file?
He MIGHT get somewhere by using grep on the entire partition where the source
file was. I think there may also be tools available which are better suited
than grep to searching through entire disks, but no names come to mind.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!