🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72174

Re: How to delete all articles in a newsgroup?

#72174
From: Gary Mills
Date: Tue, 16 Aug 2005 21:45
15 lines
1760 bytes
In <ddtdce$9qq$1@canopus.cc.umanitoba.ca> Gary Mills <mills@deneb.cc.umanitoba.ca> writes:

>I recently upgraded our news server from inn-STABLE_2_2-1999-01-09_03-01
>to inn-2.4.2.  The new server is working very nicely.  However, I had
>a perl script called `ngclean' that I could use to delete all of the
>articles in a newsgroup.  This script no longer works.  I had been
>using it to clean up local news groups whenever a professor wanted
>to start a new term with an empty newsgroup.

A quick read of the manuals gave me this idea.  It seems to work fine.

	$ tdx-util -g -n local.cs455 | nawk '{print $6}' | sm -d

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
Technical Details
Message-ID: <ddtmqa$mh3$1@canopus.cc.umanitoba.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!mira.cc.umanitoba.ca!mills
References: <ddtdce$9qq$1@canopus.cc.umanitoba.ca>

Show Full Headers
Complete Article Headers
Message-ID: <ddtmqa$mh3$1@canopus.cc.umanitoba.ca>
Subject: Re: How to delete all articles in a newsgroup?
Date: Tue, 16 Aug 2005 21:45:46 +0000
From: Gary Mills <mills@mira.cc.umanitoba.ca>
References: <ddtdce$9qq$1@canopus.cc.umanitoba.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!mira.cc.umanitoba.ca!mills
Newsgroups: news.software.nntp
Organization: The University of Manitoba
Lines: 15
NNTP-Posting-Host: mira.cc.umanitoba.ca
X-Trace: canopus.cc.umanitoba.ca 1124228746 23075 130.179.16.8 (16 Aug 2005
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Tue, 16 Aug 2005 21:45:46 +0000 (UTC)
User-Agent: nn/6.6.5