Date: Thu, 7 Oct 1999 21:22:17 -0400 (EDT) From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> To: patl@phoenix.volant.org Cc: jsw@iwww.sitel.net (Jack Winslade), mjoseff@retribution.net (Matthew Joseff), freebsd-questions@FreeBSD.ORG Subject: Re: Wierd Directory listing Message-ID: <199910080122.VAA19665@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <ML-3.4.939320082.54.patl@asimov> from "patl@phoenix.volant.org" at "Oct 7, 1999 11:14:42 am"
next in thread | previous in thread | raw e-mail | index | archive | help
patl@phoenix.volant.org wrote, > On 7-Oct-99 at 10:42, Jack Winslade (jsw@iwww.sitel.net) wrote: > > The trick I use to remove unremovable files is to specify a pattern that > > matches only the bad one. I would first try: > > > > rm *7* [snip] > And, while we are on the topic of deleting inconviently named > files; the easiest way to delete a file that starts with a dash > is to put './' in front. E.g., > > rm ./-r I always felt, % rm -- -r Was easiest. Always good to remember the use of '--' for times when a '-r' kind of argument is not a file name and the previous trick does not work. -- Crist J. Clark cjclark@home.com 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?199910080122.VAA19665>