Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 20:30:21 +0200
From:      Johann Visagie <wjv@cityip.co.za>
To:        Roman Katsnelson <romank@graphnet.com>, "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: rmdir problem
Message-ID:  <19980714203021.A13952@cityip.co.za>
In-Reply-To: <35AB9D42.D358E945@graphnet.com>; from Roman Katsnelson on Tue, Jul 14, 1998 at 02:02:43PM -0400
References:  <35AB9D42.D358E945@graphnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Jul 1998 at 14:02 SAT, Roman Katsnelson wrote:
> 
> A faulty script created a directory called "-DIR"
> 
> when i try to remove it:
> 
> #rmdir \-DIR    or
> #rmdir -DIR     or
> #rmdir \-DIR/   or
> #rmdir -DIR/
> 
> it always gives me this:
> 
> rm: illegal option -- D
> etc.

rm -r ./-DIR

- or -

rmdir ./-DIR

-- V

Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878

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?19980714203021.A13952>