From owner-freebsd-questions Mon Dec 17 13: 0:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Mail4.carolina.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id B131337B433 for ; Mon, 17 Dec 2001 13:00:15 -0800 (PST) Received: from snafu.enterit.com ([66.57.159.198]) by Mail4.carolina.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Mon, 17 Dec 2001 16:03:51 -0500 Message-Id: <5.1.0.14.0.20011217162250.030b2cc8@mail.enterit.com> X-Sender: jconner@enterit.com@mail.enterit.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 17 Dec 2001 16:23:50 -0500 To: swear@blarg.net (Gary W. Swearingen) From: Jim Conner Subject: Re: rm a file named "-l"? ;-) Cc: rene@xs4all.nl, questions@FreeBSD.ORG In-Reply-To: References: <20011217111215.I21241@xs4all.nl> <20011217111215.I21241@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 12:49 12.17.2001 -0800, Gary W. Swearingen wrote: >One "last resort" for problem filenames of any kind is to do > > \rm -i * .* > >in it's directory, and then be sure to answer "n" for everything >but the one you want to delete. (You usually don't need the ".*".) > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message A quicker way would be to use unlink(1) - Jim Philosophy is for those who have nothing better to do than wonder why philosophy is for those who have nothing better to do than... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message