Date: Mon, 3 Jul 2000 12:42:41 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Mac <mac@ngo.org.uk> Cc: pedro@hci.com.mx, freebsd-questions@FreeBSD.ORG Subject: Re: Erasing files ... Message-ID: <20000703124240.A433@dialin-client.earthlink.net> In-Reply-To: <200007030926.KAA17220@ngo.org.uk>; from mac@ngo.org.uk on Mon, Jul 03, 2000 at 10:26:06AM %2B0100 References: <NDBBLDLJFKMIDBKILPEPEEDDCIAA.pedro@hci.com.mx> <200007030926.KAA17220@ngo.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 03, 2000 at 10:26:06AM +0100, Mac wrote: > Hi all, > > Pedro Hernandez Wrote > > Thanks Jonathan, Ian, and Matthew: > > > > I've just found solution with find / -name "-z" -delete. > > > > Your way didn't function Ian, but thank you anyway. > > > Here's the real way, and it works on all forms of UNIX, no need for > special 'find' command options (or special 'rm' options, which are > (IMHO) a complete abomnination) > > > Just use the FULL path name. > > So to remove '-z' in the root directory use:- > > > rm /-z > > or, more generally, if you're in a directory with a file named '-dfg' > use:- > > rm ./-dfg I've always been partial to, rm -- -dfg -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000703124240.A433>