🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27342

Re: Cleaning up INN's .overview hierarchy

#27342
From: Dave Barr
Date: Tue, 31 Mar 1998 00:00
30 lines
1466 bytes
In article <pmb1-3103981720210001@pippin.york.ac.uk>,
Mike Brudenell <pmb1@york.ac.uk> wrote:
>Can I assume that (after a period of time when a group's articles have all
>expired and been deleted) that its .overview file will *definitely* be
>empty?

Yes, especially if you periodically run "expireover -s".  (or
"expireover -a", and you're running at least 1.4unoffsomething).

The best way is to just do:

expireover -s
cd $overviewdir
find . -size 0 -print | xargs rm
find . -type d -print | xargs rmdir >/dev/null 2>&1


Before you do all this you might also take the time to run a
"findmissing" to find any orphan articles.  See the findmissing
on my INN page if you don't have it already.

http://www.cis.ohio-state.edu/~barr/INN.html

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Technical Details
Message-ID: <6frar4INN55d@stumble.cis.ohio-state.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
References: <pmb1-3103981720210001@pippin.york.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <6frar4INN55d@stumble.cis.ohio-state.edu>
Subject: Re: Cleaning up INN's .overview hierarchy
Date: Tue, 31 Mar 1998 00:00:00 +0000
From: barr@stumble.cis.ohio-state.edu (Dave Barr)
References: <pmb1-3103981720210001@pippin.york.ac.uk>
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: 339543435
Organization: Ohio State University, Dept of Computer and Information Sicience
Newsgroups: news.software.nntp