>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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!