Date: Thu, 24 May 2001 10:45:29 +0100 From: Ceri <ceri@techsupport.co.uk> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: freebsd-current@freebsd.org Subject: Re: rm -rf question Message-ID: <20010524104529.B2716@cartman.techsupport.co.uk> In-Reply-To: <200105240840.f4O8ekT07049@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Thu, May 24, 2001 at 10:40:46AM %2B0200 References: <5.1.0.14.2.20010523054956.00a98f90@208.141.46.12> <20010523060549.Z19376@casimir.physics.purdue.edu> <20010523130807.A19223@zerogravity.kawo2.rwth-aachen.d> <200105240840.f4O8ekT07049@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 24, 2001 at 10:40:46AM +0200, J Wunsch said: > Alexander Langer <alex@big.endian.de> wrote: > > > ls | xargs rm -rf > > rm -rf /home/gary/public_html/mrtg/david If you're running as root, neither of those do the same thing as rm -rf /home/gary/public_html/mrtg/david/* What if that directory also has a few file called .dont_delete in it ? You both just deleted it (note disclaimer about running as root for the first one - the ls -A alias being the reason). Ceri -- Your local RFC Nazi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010524104529.B2716>