Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 02:25:39 -0600
From:      Craig Van Tassle <craig@ambrosa.dns04.com>
To:        freebsd-questions@freebsd.org
Subject:   [brain_damaged@florida-wireless.com: Removing dirs that aren't empty]
Message-ID:  <20011118022539.A24672@ambrosa.dns04.com>

next in thread | raw e-mail | index | archive | help


>Hello,
>How can I remove a directory and its sub dirs all at once when the subs are not empty ?
>
>I did not see a option in man rmdir to remove dir not empty.
>
>thanks
>md
Well you could just do a rm -fr /dir/to/be/deleted
but be carefull with that it is possible to remove a lot more then you think.
if in question go thought the dirs manualy removing any files

Craig


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011118022539.A24672>