From owner-freebsd-questions Thu May 21 20:24:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA13824 for freebsd-questions-outgoing; Thu, 21 May 1998 20:24:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA13780 for ; Thu, 21 May 1998 20:24:12 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id XAA11495; Thu, 21 May 1998 23:12:04 -0400 (EDT) (envelope-from listread) Message-Id: <199805220312.XAA11495@lucy.bedford.net> Subject: Re: How do I erase an entire directory In-Reply-To: <002a01bd8505$15bd4c60$0200a8c0@fast1.dfw.com> from Frank Griffith at "May 21, 98 05:09:08 pm" To: frankg@idfw.com Date: Thu, 21 May 1998 23:12:04 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Frank Griffith wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > 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. > In MSDOG, there is a command, DELTREE, similar to Unix's "rm -r name-of-dir". Dave -- Unix System 7: an improvement on all other Unix releases, previous and subsequent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message