Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2000 10:48:08 -0800
From:      Dan Mahoney <dmahoney@pe.net>
To:        Mauricio Marquez <mmarquez@enlace.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: deleting a nasty directory entry
Message-ID:  <20000203104808.B23033@pe.net>
In-Reply-To: <3.0.32.20000203123116.016b1d40@enlace.net>; from Mauricio Marquez on Thu, Feb 03, 2000 at 12:31:17PM -0600
References:  <3.0.32.20000203123116.016b1d40@enlace.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 03, 2000 at 12:31:17PM -0600, Mauricio Marquez wrote:
> 
> I went with rm -i * but it says some weird characters (different that what
> appears in the ls display) is a directory. Now there´s no way I can match
> those weird characters to try to do an RMDIR ´weird chars´ and there´s no
> RMDIR -i option.

Try using "rm -ri *" instead of "rm -i *". The -r makes it a 
recursive command - that is, it says to delete all the directory
contents, then delete the directory itself.  

Just be REALLY sure to include the -i!


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?20000203104808.B23033>