Thread View: news.software.nntp
2 messages
2 total messages
Started by A good deed never goes unpunishe...
Tue, 04 Jun 1996 00:00
Removing dirs left behind by ctlinnd rmgroup
Author: A good deed never goes unpunishe...
Date: Tue, 04 Jun 1996 00:00
Date: Tue, 04 Jun 1996 00:00
17 lines
965 bytes
965 bytes
INN 1.4sec , Ultrix 4.3a
Hello,
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??
Any info appreciated.
Ted Kennette tkennett@Bentley.Edu
Systems Manager / Postmaster
Bentley College
Re: Removing dirs left behind by ctlinnd rmgroup
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads