🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by James Miller Mon, 18 Apr 1994 17:12
Need a shell script to locate empty groups
#2517
Author: James Miller
Date: Mon, 18 Apr 1994 17:12
22 lines
1977 bytes
I am looking to do some spring cleaning of our news server, and in addition 
to running checkgroups, and removing some misformed groups that have 
never been posted to, I would like to get a report on every group in the 
news spool which doesn't have any articles in it.  I realize that the 
groups in this list would not all need to be removed (by any means), but it 
would help me identify groups wich have aged to extinction or that are 
not getting fed properly.

What I am looking for is shell or perl script that would transverse the 
news spool directory and report on any directory with no articles in it 
in the form of a newsgroup (that is, if the directory 
/usr/spool/news/alt/bork/bork/bork didn't have any visible files in it 
then it would return "alt.bork.bork.bork").  Unfortunatly I do not have 
the shell expertise to pull something like this off. 

Has anybody already done this?  If not, does anybody think they could? 
If you can, and want to, please followup either to news.software.nntp or via 
email and I will summarize.

Thanks in advance,
James
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