Monthly Archives: February 2009

When you release shift too early

$ diff /tmp/list.txt ~/Desktop/list.txt
$ rm !!;1
rm: cannot remove `diff': No such file or directory
bash: 1: command not found

The semi-colon should’ve been a colon, which selects just word 1 from the previous line. Instead, I deleted everything. Of course that’s what I intended to do, you piece of crap.

I usually use trash-cli and don’t bother deleting most files in /tmp. duplicity helped me get my files back, thankfully.

While on this: freedesktop.org’s trash specification leaves a few things to be desired:

  • Consistent support for trashing on mounts besides the one containing your home directory.
  • Automatic erasing of old files on space depletion.