Article View: news.software.nntp
Article #8293Re: Removing dirs left behind by ctlinnd rmgroup
From: Dave Barr
Date: Wed, 05 Jun 1996 00:00
Date: Wed, 05 Jun 1996 00:00
17 lines
1183 bytes
1183 bytes
In article <1996Jun4.154940@rhea.bentley.edu>, A good deed never goes unpunished ... <TKENNETT@rhea.bentley.edu> wrote: > After ctlinnd rmgroup'ing a group, the articles are correctly removed >but the directories are left behind. Is there a nice way of going through >the spool disk and removing these left behind?? cd $SPOOL find . -size 0 -print | xargs rm # to remove empty .overview's find . -type d -depth -print | xargs rmdir # remove all directories (note you may wish to redirect the second command's stderr to /dev/null, since it will generate a lot of output) --Dave
Technical Details
Message-ID:
<4p4f9q$ge0@augusta.math.psu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<1996Jun4.154940@rhea.bentley.edu>Show Full Headers
Complete Article Headers
Message-ID: <4p4f9q$ge0@augusta.math.psu.edu> Subject: Re: Removing dirs left behind by ctlinnd rmgroup Date: Wed, 05 Jun 1996 00:00:00 +0000 From: barr@math.psu.edu (Dave Barr) References: <1996Jun4.154940@rhea.bentley.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 158621744 Organization: Penn State University, Department of Mathematics Newsgroups: news.software.nntp