From owner-freebsd-questions Sun Nov 18 0:23:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ambrosa.dns04.com (niu1mms-156-094.cso.niu.edu [131.156.156.94]) by hub.freebsd.org (Postfix) with ESMTP id 4DC5E37B416 for ; Sun, 18 Nov 2001 00:23:27 -0800 (PST) Received: by ambrosa.dns04.com (Postfix, from userid 1000) id 3272E3DB5; Sun, 18 Nov 2001 02:25:40 -0600 (CST) Date: Sun, 18 Nov 2001 02:25:39 -0600 From: Craig Van Tassle To: freebsd-questions@freebsd.org Subject: [brain_damaged@florida-wireless.com: Removing dirs that aren't empty] Message-ID: <20011118022539.A24672@ambrosa.dns04.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >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