On Wed, 7 Mar 2001, Matt Kraner wrote:
> How do you remove a dir that has things in it???
>
>
> Thanks
> Matt Kraner
>
>
There are several ways to do it.
The way I like is to use Midnight Commander (mc) - highlight the
directory, hit F8, and his yes to remove it even if it isn't empty. It
will delete the files first, and then the directory.
You can change to the directory, run "rm -R *", and then drop down one
level and use rmdir on the directory. (Or run rm -R <directory name>.)
Be CAREFULL with this one!
As root, use "rm -d <directory>" (I have not used this, but it is
susposed to work.)
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list