Re: Help! I deleted 1.5 years of work
Re: Help! I deleted 1.5 years of work
- Subject: Re: Help! I deleted 1.5 years of work
- From: Paul Sargent <email@hidden>
- Date: Mon, 12 Nov 2007 13:04:47 +0000
On 11 Nov 2007, at 23:29, Ken Tozier wrote:
Well, it's gone. I bought "Data Rescue 2" and spent the afternoon
trying to recover but no luck.
It happens to us all at some point. I feel your pain, but learn from
it. Buy an external hard drive and start backing up with, for example,
Time Machine.
...and look at Version Control (like SVN, or my current favourite
Mercurial). It's your friend, and Yes, it's worth it even if you are
the only developer.
After calming down,
Yes, it sounded like you needed to. Understandable though.
I thought through what the app did and it still seems exceedingly
strange to me. The delete only affected the files (and their
containing directories) included in the Xcode project from which the
app was compiled. Other Xcode projects at the same level are all
fine. "Miraculously" only the stuff I need was deleted.
Sounds like you failed to create your temp directory, tried to change
to it (which failed), and then at the end erased the current directory
(which would have been your source directory, because you didn't
manage to change away)
Time to put some better error checking in.
Maybe try to re-create the error again, but going through in the
debugger; on a copy of course.
I did manage to recover ".o" files for the deleted sources. Is there
any way to decompile those back into usable files?
Not really, not without far more work than just using your old source
code.
Glad it's just 3 weeks you lost.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden