From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 16:35:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BD6516A41F for ; Tue, 6 Sep 2005 16:35:06 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4AED43D46 for ; Tue, 6 Sep 2005 16:35:05 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j86GZ2Rj006343; Tue, 6 Sep 2005 19:35:02 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j86GZ35T057780; Tue, 6 Sep 2005 19:35:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j86GZ3ZR057779; Tue, 6 Sep 2005 19:35:03 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Tue, 6 Sep 2005 19:35:03 +0300 From: Giorgos Keramidas To: robert@webtent.com Message-ID: <20050906163503.GB44997@orion.daedalusnetworks.priv> References: <1126024196.4623.5.camel@columbus.webtent.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1126024196.4623.5.camel@columbus.webtent.org> Cc: freebsd-questions@freebsd.org Subject: Re: Large -X directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2005 16:35:06 -0000 On 2005-09-06 12:29, Robert Fitzpatrick 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.