Date: Thu, 23 Oct 1997 15:57:33 +0930 From: Greg Lehey <grog@lemis.com> To: Shawn Ramsey <shawn@luke.cpl.net> Cc: questions@FreeBSD.ORG Subject: Re: deleted huge directory Message-ID: <19971023155733.51272@lemis.com> In-Reply-To: <Pine.BSF.3.95.971022213636.10104A-100000@luke.cpl.net>; from Shawn Ramsey on Wed, Oct 22, 1997 at 09:38:52PM -0700 References: <Pine.BSF.3.95.971022213636.10104A-100000@luke.cpl.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 22, 1997 at 09:38:52PM -0700, 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.) Doesn't rm -rf work? Otherwise you could try find dir | xargs rm -rf Let me know if either of these fail, even if the other one works. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971023155733.51272>