From owner-freebsd-questions Thu May 21 19:55:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA10232 for freebsd-questions-outgoing; Thu, 21 May 1998 19:55:39 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hermes.iaccess.com.au (hermes.iaccess.com.au [203.5.74.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA10205 for ; Thu, 21 May 1998 19:55:15 -0700 (PDT) (envelope-from andrew@iaccess.com.au) Received: from alpine.iaccess (alpine.iaccess.com.au [203.5.74.227]) by hermes.iaccess.com.au (8.8.5/8.8.5) with SMTP id MAA26676; Fri, 22 May 1998 12:56:13 +1000 (EST) Message-ID: <020901bd852d$7019bf40$e34a05cb@alpine.iaccess> From: "Andrew Specht" To: "Frank Griffith" , Subject: Re: How do I erase an entire directory Date: Fri, 22 May 1998 12:58:02 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rm -rf this will do the trick, but BE CAREFUL it will delete EVERYTHING in that directory plus the directory itself. Andrew Specht | System Administrator E-mail: andrew@iaccess.com.au | Internet Access Australia Internet: http://www.iaccess.com.au | Melbourne, Australia -----Original Message----- From: Frank Griffith To: freebsd-questions@FreeBSD.ORG Date: Friday, May 22, 1998 12:38 PM Subject: How do I erase an entire directory >I am still getting use to installing ports and make some >mistakes when I do. Each time I install and things aren't >quite right, I erase everything and reinstall the port. My >problem is I can't seem to figure out how to erase an >entire directory. If it has files in it, I can't just type rmdir >without doing each directory, starting at the bottom of the >tree. Can someone tell me if there is a command similar >to deltree in DOS for FreeBSD. > >Note: deltree will allow you to delete an entire directory and >all its subfolders with one swift command line. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message