Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 19:57:26 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        Shawn Ramsey <shawn@luke.cpl.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: deleted huge directory
Message-ID:  <Pine.BSF.3.96.971023195649.22343A-100000@odyssey.apana.org.au>
In-Reply-To: <Pine.BSF.3.95.971022213636.10104A-100000@luke.cpl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Oct 1997, Shawn Ramsey wrote:

> Does anyone have any suggestions for deleting a huge directory? The
> direcory is /var/news/spool/control/cancel. The directory is too large to
> even do a ls. If I try doing ls, it eats up all the avail. RAM(140+mb) and
> hangs. Anyone? I would try a wildcard, but I don't know what the filenames
> are. (This is a very large news server, and this directory has never been
> touch as far as I know.)

Try:

rm -r /var/news/spool/control/cancel

This will remove the directory and its contents.

Regards,

d.

+-------------------------------------------------------+
| Dean Hollister,           | deanh@iinet.net.au        |  
| Perth, Western Australia. | dean@odyssey.apana.org.au |
+-------------------------------------------------------+




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971023195649.22343A-100000>