Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 14:00:13 -0500 (CDT)
From:      Todd Backman <tbackman@corp.gulf.net>
To:        Roman Katsnelson <romank@graphnet.com>
Cc:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: rmdir problem
Message-ID:  <Pine.BSI.3.95.980714135813.19727O-100000@marlin.corp.gulf.net>
In-Reply-To: <35AB9D42.D358E945@graphnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Try:

rm -rf -DIR

On Tue, 14 Jul 1998, Roman Katsnelson wrote:

> Hello.
> 
> 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.
> 
> what can i possibly do?
> 
> much tia,
> roman
> -- 
>          _________________________________________
> 	|   Roman Katsnelson		          |
>       _ |   Internet Engineer                     | _
>      / )|                                         |( \
>     / / |   Graphnet World Headquarters           | \ \
>   _( (_ |  _Teaneck, New Jersey                _  | _) )_
>  (((\ \)| / )    http://www.graphnet.com      ( \ |(/ /)))
>  (\\\\ \|/ /___________________________________\ \|/ ////)
>   \       /    Email: romank@graphnet.com       \       /
>    \    _/                                       \_    /
>    //////  ====================================   \\\\\\
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

=====================================================================
Todd Backman (tbackman@corp.gulf.net)  
Network Engineering Team Leader
Systems/POP Administration				 
Gulf Coast Internet Company   1-800-444-INET 


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?Pine.BSI.3.95.980714135813.19727O-100000>