This will be short and sweet, and if it saves your life even once, it will be well worth it in spite of the fact that it's not CQ related.

Some background.

My day to day work is done on an Ubuntu 12.04 LTS x64 using ext4 for my filesystem.  This detail is important, as you will see in a minute.

I had been working on Maven POM's to be used as the foundation for the project I was working on.  I had likely been working for more than a day on them, with LOTS of changes not easily reproduced.  Because this was the first week or so of development, we were not yet using any SCM.  I was troubleshooting some kind of error, and I was quickly switching between a terminal window and Eclipse.  My terminal was setup so that I could page through my previous commands with the up-arrow.  I can't even remember WHY I was deleting files.

I switched to my terminal, up-arrowed to recycle an 'rm' command - removed a portion of the filename on the 'rm' command - hit tab (to autocomplete the filename) and hit 'return' wihtout really looking...and realized I had just deleted the Maven POM I had been working on for - well - in all likelyhood days.  There were many expressive explatives shouted, my dog hid around the corner by the fridge, but I did not throw my desktop through the window.

I searched briefly for file recovery applications for Linux - of which there are damn few, unlike Windows.  What I learned is that you really have to install these applications BEFORE you accidentally delete that file you have poured your lucid early morning concentration into.  I could install one of the apps I found, and even if they worked, in all likelyhood installation of the app would overwrite my precious cargo.

Which brings me to the whole point of this post.

Let me introduce you to my little friend.... Dropbox.  What does that have to do with the tea in China?  Please let me explain...

Because I travel frequently, and frequently am working on no less than 3 systems at any time (My Deskop, My Laptop, My Macbook Pro) - I decided to use Dropbox to store all of my development projects.  This would manage the hassle of keeping these system in sync for me without needing to use rsync.  Plus, because I travel, it would cushion me from: theft, my gear falling out of the plane, getting crushed by the taxi driver, dropping my backpack, mass hysteria.

The happy unintended consequence of using Dropbox is this: when you delete files Dropbox will save the deleted files for some period of time.  This time depends upon several factors.  But for deleting a file now, you likely have the better portion of a day to recover it.

So there you have it - your new self-managing rsync / save your butt - all purpose tool - which for 5G is free and doesn't cause heartburn.

Dont leave home without it.