Hello everyone,
I just wanted to thank all of you guys for giving me advice on how to solve this issue one more time. I finally recovered the entire file I lost as follows:
I rebooted into my Ubuntu linux partition and I run the command:
$> strings /dev/sda2 | grep -A 2000 "element.cpp" > ~/Desktop/recovery.out
So basically, the string command prints whatever text can be extracted from an object. In this case the object is the entire Mac OS partition, mounted under /dev/sda2. Then I pipe this command to grep, which basically print the text that matches certain pattern. I knew that the text "element.cpp" was in the heading of the file, so basically I'm telling grep to print all 2000 lines after that "element.cpp" is found. Finally, everything is saved in an output file that I put on the desktop.
The file that was created was huge! But I was able to find EVERYTHING from that lost file. So the only thing I had to do is to format the code and add some missing braces.
Now the first thing I'm gonna do is to do a hundred backups of my stuff. There are two things remaining that I would like to discuss with you. First, there has to be a way to let the developers of xcode know that this kind of thing can happen. Someone else replied to my message saying that the same thing happened to him (only that he had a backup). I know for example that Eclipse has a nice feature that saves backups automatically so you can trace back to whatever the state of the file was one hour ago if you wanted to. This is a nice feature that I would love to have in xcode. Second, I definitely need to get support on how to make my time machine work with a small hard drive because the program is not deleting old backups and it's telling me that the backup cannot be created because there is no space. I know this is off topic here, but I would appreciate if someone points me to the right mailing list.
Once again, thank you all.
Alejandro Aragón
On Jan 17, 2009, at 10:06 AM, João Varela wrote: Hi Alejandro
Are you Spanish? If you are and live near the South of Portugal like I do, maybe you are in luck. I know a small company who have just recovered an unrecoverable disk from a colleague of mine that other commercial software packages we tried could not. This company has developed in-house software that recovers almost anything from a HFS disk. If you want to have their contacts and you are that desperate, contact me off list and I will send you their email.
HTH
Joao Varela Message: 2 Date: Fri, 16 Jan 2009 18:39:03 -0600 From: Alejandro Aragon <email@hidden> Subject: Re: PLEASE HELP!!!!! To: "William H. Schultz" <email@hidden> Cc: email@hidden Message-ID: <email@hidden">email@hidden> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Well, this is the least thing that I need right now, you're not offering any solution at all! Of course I have an svn repository, and I also do time machine backups, but I haven't done that in a month because time machine doesn't backup anymore when your hard drive is filled up.
So you either have a solution in mind or avoid replying to my message.... PLEASE!!!!!!!!!! SERIOUSLY!!!!!!!!!!!!!!!!!
On Jan 16, 2009, at 6:31 PM, William H. Schultz wrote:
You're telling us you have a single copy of your hard work in a
single place, it never gets backed up using something like Time
Machine or dot Mac Backup, and it never gets committed to an any
kind of revisioning system?
THOSE are the other ways.
For some people, losing valuable data is what is required in order
to NOT lose valuable data. Seriously.
|