Date: Wed, 19 Sep 2001 21:15:00 -0500 (CDT) From: mcbrune <mcbrune@home.com> To: Jonathan Chen <jonathan.chen@itouch.co.nz> Cc: Vinicius Vianna <ds@listas.hacked.com.br>, Questions@FreeBSD.ORG Subject: Re: How to remove a dir named "--help"? Message-ID: <200109200215.f8K2F1S03650@home.com> In-Reply-To: <20010920123047.A54583@itouchnz.itouch>
next in thread | previous in thread | raw e-mail | index | archive | help
If this does not work, try
rm -rf -- --help
or
ls -di --help (get the inode)
find . -inum <inum from above> -exec rm -rf {} \;
Corey
> On Wed, Sep 19, 2001 at 08:34:06PM -0300, Vinicius Vianna wrote:
> > Hi folks.
> > 
> > Recently as a mistype I created a dir named "--help" as the follow:
> > 
> > drwxr-x---   5 qmailq  qmail   512 Sep 19 20:25 --help/
> > 
> > So how can I remove this? when i type "rm -rf --help" it exits quietly, i tried some glob as "*help*" and escape as "\-\-help" but not worked so far, when i try to "cd" into it says:
> 
> Try:
>     rmdir ./--help
> or  rm -rf ./--help
> 
> -- 
> Jonathan Chen <jonathan.chen@itouch.co.nz>
> ----------------------------------------------------------------------
>     The Internet: an empirical test of the idea that a million monkeys
>                 banging on a million keyboards can produce Shakespeare
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
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?200109200215.f8K2F1S03650>
