Tags & production questions

Guido Ostkamp hg at ostkamp.fastmail.fm
Fri May 4 13:49:29 CDT 2007


> I regularly use rm(1) for this:
>
> 	cd workspace/
> 	rm -fr *
>
> Some of the dotfiles are left around, but that's usually pretty easy to 
> recover from too ;-)

I did it nearly the same way, but as you know using 'rm -fr *' is quite 
dangerous. If the 'cd' fails due to a problem, you get into big trouble 
;-)

It could also happen that you have too much files in the directory, so 
that shell expansion of '*' doesn't work any longer.

Regards,

Guido


More information about the Mercurial mailing list