Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2005 19:35:03 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        robert@webtent.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Large -X directory
Message-ID:  <20050906163503.GB44997@orion.daedalusnetworks.priv>
In-Reply-To: <1126024196.4623.5.camel@columbus.webtent.org>
References:  <1126024196.4623.5.camel@columbus.webtent.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-09-06 12:29, Robert Fitzpatrick <lists@webtent.net> wrote:
> I have a directory, no idea where it came from called '-X' and it has
> consumed my entire /home partition, now 10GB. Given the name, I am
> finding it hard to remove, how can I remove this file? I've been doing a
> lot of backup script testing on that devel server, so I am assuming it
> came from a bad run at this point with the -X option of tar placed
> incorrectly.

See the "NOTE" section of the rm(1) manpage, please.  This is a FAQ.
Prepending ./ to the name

	rm -r ./-X

should work fine.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050906163503.GB44997>