Date: Thu, 23 Oct 1997 00:15:16 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: Greg Lehey <grog@lemis.com> Cc: Shawn Ramsey <shawn@luke.cpl.net>, questions@FreeBSD.ORG Subject: Re: deleted huge directory Message-ID: <Pine.BSF.3.96.971023001411.2144B-100000@gdi.uoregon.edu> In-Reply-To: <19971023155733.51272@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Oct 1997, Greg Lehey wrote: > 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. Turning on async updates is highly recommended for such an operation, otherwise it could take days. :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971023001411.2144B-100000>