From owner-freebsd-questions  Thu Feb  3 13:36:52 2000
Delivered-To: freebsd-questions@freebsd.org
Received: from http.pe.net (http.pe.net [216.100.16.4])
	by builder.freebsd.org (Postfix) with ESMTP id 92E5F4225
	for <freebsd-questions@FreeBSD.ORG>; Thu,  3 Feb 2000 13:36:50 -0800 (PST)
Received: (from dmahoney@localhost)
	by http.pe.net (8.9.3/8.9.1) id KAA23193;
	Thu, 3 Feb 2000 10:48:09 -0800 (PST)
Message-ID: <20000203104808.B23033@pe.net>
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
References: <3.0.32.20000203123116.016b1d40@enlace.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Mutt 0.93.2
In-Reply-To: <3.0.32.20000203123116.016b1d40@enlace.net>; from Mauricio Marquez on Thu, Feb 03, 2000 at 12:31:17PM -0600
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

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