From owner-freebsd-questions Thu Oct 23 04:55:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA21000 for questions-outgoing; Thu, 23 Oct 1997 04:55:57 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA20994 for ; Thu, 23 Oct 1997 04:55:52 -0700 (PDT) (envelope-from dean@odyssey.apana.org.au) Received: from localhost (dean@localhost) by odyssey.apana.org.au (8.8.7/8.8.7) with SMTP id TAA22357; Thu, 23 Oct 1997 19:57:30 +0800 (WST) Date: Thu, 23 Oct 1997 19:57:26 +0800 (WST) From: Dean Hollister To: Shawn Ramsey cc: questions@FreeBSD.ORG Subject: Re: deleted huge directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 | +-------------------------------------------------------+