Profile

outlier_lynn: (Default)
outlier_lynn

January 2015

S M T W T F S
    123
45678910
11121314151617
181920 21222324
25262728293031

Most Popular Tags

Expand Cut Tags

No cut tags
Wednesday, November 21st, 2007 04:44 pm
I just did "rm *" in the wrong directory. sigh.
Thursday, November 22nd, 2007 08:49 pm (UTC)
Hmm... yeah. Whenever I get my hands on a new environment I specifically go into ~/.bash_aliases and add alias rm='rm -i'. I figure I can always add -f and that will give me enough thought of what I'm doing to perhaps catch slip-ups. I can't say I've had that problem any time recently.
Friday, November 23rd, 2007 04:15 am (UTC)
Yeah. I've done that. It didn't save me the last time I did this. I don't type "rm *" unless I'm sure. So when asked, I said "Y".
Friday, November 23rd, 2007 12:12 am (UTC)
I have a friend who used to put an empty file named '-i' in any directory which he *really* wanted to be sure he didn't accidentally blow away. So any 'rm *' in one of those directories would turn into an 'rm -i' and he'd have a chance to avert catastrophe.
Friday, November 23rd, 2007 01:12 am (UTC)
oi. but fortunately you have daily backups, yes?
Friday, November 23rd, 2007 04:11 am (UTC)
I couple of hours work was lost, but it was mostly stuff cut and pasted from elsewhere so it is easy to recreate.

I haven't done the rm * thing in a very long time.
Friday, November 23rd, 2007 04:20 am (UTC)
I keep two directories with the stuff I'm working on and one of those is usually on a second computer. I rarely lose data.

This time, though, I'm writing code jointly. So I rarely have the most up to date code on my machine.

I typed "rm -a" in a terminal on the machine with the most recent code. Mostly what I deleted was the work the other guy did. I felt really bad. :)

I'll get it all straight again tomorrow.