Becoming Homeless

18 Apr 2013

The other day at work I was doing something and accidentally made a folder named tilde.

$ ls
~ bin lib spec

Oops, well I guess I should remove that.

$ rm -r ~
rm: remove write-protected regular file .ssh/config?

Wait… what?! Oh crap, did that just delete my home directory?

$ ls ~
total 0
drwxr-xr-x 17 user group  544 Apr  18 11:45 .
drwxr-xr-x 27 user group  864 Apr  18 10:18 ..

Lucky I had a backup on my home computer. I have an rdiff-backup run weekly. I changed that to daily.

Man what a day.