Long story short...

I wrote a CLI events calendar for Linux in C++ (one of my first major C++ programs), and it came to around 2400 lines of code. I've been working on it for a few weeks now getting things just right.

I just finished getting a decent working copy of the program and copied the executable to my /usr/local/bin directory (linux) so I could play with it some.

I, then, decided it'd be a good idea to set up a local CVS repository so I can do some version tracking, since NetBeans supports this. In the process, I set my home directory to the cvs repository directory and entered "cvs init"

My home directory got wiped and, frankly, I didn't mind losing anything else except for this program I had been working on for a while.

How would I go about retrieving this? I imagine it's considered a deleted file...?

Is there a way to reverse engineer the code? The program functions as it is, but I don't feel it's really "complete" yet, so I want the ability to continue editing it from where it is until I feel it's more or less finished.

I'll chalk this one up to not backing it up...I know I should have, especially more often. But this very rarely happens to me and the thought didn't even cross my mind.

If it's really not too retrievable, I guess I'll leave it as-is (functional, but missing some features imo), and move onto a new programming project.

Thanks in advance
-Josh

if it were me, i'd probably get on the CVS help mailing list and ask the experts if there's a way to restore.

for the best chance of getting help from them, you'll want to clearly and concisely describe what exactly you had, what you did, and what you have now.

if it were me, i'd probably get on the CVS help mailing list and ask the experts if there's a way to restore.

for the best chance of getting help from them, you'll want to clearly and concisely describe what exactly you had, what you did, and what you have now.

Thanks, I may end up doing that. Right now, I'm somewhat accepting the program may be a loss though.

I'll try that though and see if it ends up with any success :)

Thanks for the suggestion!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.