[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trm - a command that removes files into a temporary "trash" folder



Tal,
Why do you need a shell and to compile something

why don't 
alias trash 'mv \!* ~/.trash';
or
alias t 'mv \!* ~/.trash';

When you need to clean the trash do

alias clean 'rm -rf ~/.trash' 
or some more sophisticated to remove only files which are older than few 
days or so...

Don't get me wrong, it's just another way to do the same thing :-)
Please, use the way you like...

BTW, does your host name is wrong or it's a problem on the mine side:
It's bounced:
   ----- Transcript of session follows -----
550 <tald@dvash.huji.ac.il>... Host unknown (Name server: 
dvash.huji.ac.il.: host not found)


Regards,
-------------------------------------------------------------------------------
Stas Bekman 	sbekman@iil.intel.com.il  [ WebMaster at Intel Corp. ]
Address:	Aba Silver 12/29, Haifa, 32694, Israel
Phones:		[w]  972-(0)4-865-5188, [h]  972-(0)4-828-2264/3020 
Home Page:	http://techunix.technion.ac.il/~ofelix
Resource Center http://www.mardanit.co.il/Center (CGI, PC, Security, Linux)
Linux-il Home:	http://www.linux.org.il/ 	



Follow-Ups: