Was looking for a way to securely delete/wipe some files I had copied to a portable USB drive (temp storage while I encrypted my larger drive) and found
secure-delete
. After mounting the partition (in /media/me/d4293b91-5c41-4e21-829a-e850da683a1e
), I checked to see what files were there - home and WD-MyBook. Everything's good...right?WRONG!!! I ran this command and nearly soiled myself -
sudo srm -lvr /home
, instead of sudo srm -lvr home
. As I'm watching my files disappear, I was able to kill the command in time before any serious damage was done. In my daily backups routine, I make a copy of /root and place it in /home. Only because my username starts with S was I able to kill the purge before it started on my files.And I hadn't even started drinking yet!