From owner-freebsd-questions Thu May 2 21:25: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id DD88E37B41C for ; Thu, 2 May 2002 21:25:01 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id AF33E2B84C; Fri, 3 May 2002 06:24:58 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 1532E50A; Fri, 3 May 2002 14:24:58 +1000 (EST) Date: Fri, 3 May 2002 14:24:58 +1000 From: Edwin Groothuis To: "Defryn, Guy" Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: How do I delete directories and subdirectories at once Message-ID: <20020503142458.D56548@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , "Defryn, Guy" , "'freebsd-questions@FreeBSD.ORG'" References: <98B01D2717B9D411B38F0008C7840931057F3803@its-xchg2.massey.ac.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <98B01D2717B9D411B38F0008C7840931057F3803@its-xchg2.massey.ac.nz>; from G.P.Defryn@massey.ac.nz on Fri, May 03, 2002 at 04:18:42PM +1200 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 On Fri, May 03, 2002 at 04:18:42PM +1200, Defryn, Guy wrote: > This is probably a silly question but I cannot figure out how to > delete directories, subdirectories and all files in one go. recursive removing: rm -r Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message