I stumbled on this today which I found very useful. There was an article on this but it seems the source of the script has moved here.
Basically its a shell script which can be used instead of the unix rm command (I've saved this as rma for remove again). Works just like the normal unix rm but all deleted files go into the trash can - so if you make a typeo you can restore easily.
5:48:06 PM comment