[CLUG] rm replacement

Eoin Kelly eoin_kelly at hotmail.com
Sat Sep 8 22:49:06 IST 2001


>I did it again recently:
>
>`rm -fR *` DOH! *wrong directory* !!!

been there.

>So I'm looking for a replacement for rm, you know a trash system? I did a
>search and there seems to be plenty of them out there, but I'm wondering if
>there are any particularly nice packages people recommend?

On my home box I've aliased rm to "rm -i" so it at least asks me for 
confirmation -it is a tad annoying when deleting large numbers of files - 
better solution might be to alias rm to mv the files to a designated folder 
- then add a shutdown script or cron/at job to delete the files whenever 
suits.

-Eoin



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the Cork mailing list