Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 16:23:50 -0500
From:      Jim Conner <jconner@enterit.com>
To:        swear@blarg.net (Gary W. Swearingen)
Cc:        rene@xs4all.nl, questions@FreeBSD.ORG
Subject:   Re: rm a file named "-l"? ;-)
Message-ID:  <5.1.0.14.0.20011217162250.030b2cc8@mail.enterit.com>
In-Reply-To: <rl7krl3731.krl@localhost.localdomain>
References:  <20011217111215.I21241@xs4all.nl> <20011217111215.I21241@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20011217162250.030b2cc8>