LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] rm replacement

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell