🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Anthony J Terlecki Sat, 21 Jun 1997 00:00
Removing duplicate articles
#18563
Author: Anthony J Terlecki
Date: Sat, 21 Jun 1997 00:00
19 lines
1107 bytes
Over the last couple of days, owing to some trouble I was having with my
newsfeed, I have duplicate articles (identical message IDs) on my INN news
server.

Is there any way I can automatically remove the duplicates? I tried makehistory but
this didn't seen to have any effect.

I could go about writing a perl script to manually delete them and then
rerun makehistory but I just first wanted to check if anyone knows of an
easier way.


-- 
Tony Terlecki
ajt@terlecki.demon.co.uk
Running linux 2.0.18

Re: Removing duplicate articles
#18630
Author: Chrisy Luke
Date: Mon, 23 Jun 1997 00:00
22 lines
1396 bytes
On 21 Jun 1997 01:11:57 +0100, the Killer Plum Squad forced
ajt@terlecki.demon.co.uk (Anthony J Terlecki) to write:

>I could go about writing a perl script to manually delete them and then
>rerun makehistory but I just first wanted to check if anyone knows of an
>easier way.

Wait a few days and use a neat find command to delete all the articles
that are too old to feasibly still exist. :-)

find /newspath -type f -name '[0-9]*' -mtime -print | fastrm /

as news. fastrm comes with INN.

Chris.
== chrisy@easynet.net, chrisy@flirble.org, chrisy@etsiig.uniovi.es
== Newsmaster and Senior Systems Developer for Easynet Group Plc.
== I recently saw a Flirble, in the bushes on Regents Park. It
== frowned at me and said "If it were Wimbledon you wouldn't stare!"

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