On Fri, 22 Jul 2005 17:44, Michael JasonSmith wrote: > On Fri, 2005-07-22 at 05:40 +0200, Martin Bähr wrote: > > if you are used to rm moving things to the trash then it will bite you > > every time when this is not the case. > > I agree, in principle, which is why I would actually alias the program > to "del" or "t". However, the mantra against renaming can be taken too > far: I do alias vi to vim and ls to "ls -F --color=auto" :) Another useful tip to tame rm is to create a file called -i in directories in which you have put precious files. rm will then work interactively if you inadvertently say 'rm *', yet it work's normally when you remove named files.
touch "./-i" It saved my files once a long time ago. -- CS
