Subject: Re: Little prob with rm
To: Martin Husemann <martin@euterpe.owl.de>
From: nv90-mho <nv90-mho@nada.kth.se>
List: current-users
Date: 11/01/1994 02:10:11
In message <199410310140.CAA01851@euterpe.owl.de>, Martin Husemann writes:
>
>I *do* prefer the SVR4 way of ignoring trailing slashes.

I prefer the BSD way.
If you want to clear out everything in a directory, but keep it,
rm -rf dir/ is sort of a shorthand for rm -rf dir/* dir/.??* (or,
equally, rm -rf dir; mkdir dir (but then you have to worry about
possible chmod/chgrp).

	- MH