From owner-freebsd-current Thu May 24 7:47:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id AB0E337B42C for ; Thu, 24 May 2001 07:47:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f4OElMM92523 for ; Thu, 24 May 2001 07:47:22 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 35AE2380C; Thu, 24 May 2001 07:47:22 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: freebsd-current@FreeBSD.ORG Subject: Re: rm -rf question In-Reply-To: <200105240840.f4O8ekT07049@uriah.heep.sax.de> Date: Thu, 24 May 2001 07:47:22 -0700 From: Peter Wemm Message-Id: <20010524144722.35AE2380C@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG J Wunsch wrote: > Alexander Langer wrote: > > > It's xargs job to workaround that: > > > > ls | xargs rm -rf > > rm -rf /home/gary/public_html/mrtg/david > > should have worked as well. It also removes the directory itself, > yes, but since it's then rm(1) that does the directory handling, > there's no longer a limitation in the arg list that applies. Incidently, "find /home/gary/public_html/mrtg/david -delete" would have worked as well, and would not have deleted the top directory. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message