17
cprn
5y

September 13th, 2013 at 06:20 AM
===========================

~$ cd /mnt/backupdisk
backupdisk$ make_backup --output=./~
Cannot access storage: /mnt/backupdisk/~
backupdisk$ ls
~
backupdisk$ rm -rf ~
^C ^C ^C ^C ^C

...never name your backup same as your home directory.

Comments
  • 8
    No idea why you'd do such thing but I laughed af picturing you nervously pressing ^C
  • 0
    You could just do \~ or "~"
  • 0
    @irene @HampusMa Yeah, I know all that. Funny thing is I knew that back then as well - I'm using solely Linux for last 13 years at least - it just never ocurred to me anybody could make such a silly mistake. Until I did. Nowadays I have it all automated and using `rsync` underneath. Glad to report no fuck-ups for last six years (more or less).
  • 0
    Wena wn
Add Comment