Well at least it turns out to not be a total disaster. I have to wonder though, just how did you end up deleting everything?
Two quick stories related to this topic:
1. Years ago one of our team members sat down at the server and didn't realize he was at the root directory. He typed rm -rf and poof the entire server was erased. [For those that may not know, -f means 'force' as in 'don't ask me if I am sure I want to recursively delete everything'].
2. Same project, but this time it was me...but on my own machine. I write a lot of tiny little batch files or scripts to do repetitive crap that would involve typing long directory paths. I keep those in my general tools directory. So I CD'ed to \wintools and created a new file for the script. But I had a typo where I did something like '@ c d \build'. Naturally that was an error, the directory didn't change and the next line was, you guessed it, 'rm -rf *.*' and I deleted my entire tools directory. Now I make my tools directory read only.
That never happens at home and I have all the WAV files on an external drive and the MP3s made from those WAVS on both computers.