[UCLA-LUG] recycle bin

Leonard R. Wayne lrwayne@earthlink.net
Tue, 04 Apr 2000 14:07:01 -0700


> How do I make it so that whenever I rm files they automatically be stored
> in temp directory.  I guess I am asking for a recycle bin... Thanks.

If you are using t-shell, you could add this line to your .tcshrc file:

alias rm "mv \!* /recycle_bin"

(after you 'mkdir recycle_bin', of course).  Also remember to 
'source .tcshrc' after modifying .tcshrc.

- Len