Thread View: news.software.nntp
3 messages
3 total messages
Started by Steve Howie
Tue, 28 Jul 1998 00:00
Expiring just one hierarchy
Author: Steve Howie
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
15 lines
1083 bytes
1083 bytes
Is there any way in INN 1.7.2 to just have expire look at one hierarchy? We're planning severe and frequent pruning of a hierarchy which will remain nameless (:-)) and want to know if there is a quick and dirty way to have it only process this one hierarchy rather than the entire spool Thanks, Scotty -- Steve Howie root@127.0.0.1 Netnews and Listserv Admin 519 824-4120 x2556 University of Guelph "If it's not Scottish it's CRRRRAAAAAAAPPPPPP!"
Re: Expiring just one hierarchy
Author: Ronald Hello
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
21 lines
1448 bytes
1448 bytes
In article <6pkmoe$4j6$1@testinfo.uoguelph.ca>, Steve Howie <showie@uoguelph.ca> writes: > Is there any way in INN 1.7.2 to just have expire look at one hierarchy? > We're planning severe and frequent pruning of a hierarchy which will > remain nameless (:-)) and want to know if there is a quick and dirty way > to have it only process this one hierarchy rather than the entire spool Yes. You make a second expire.ctl with larger defaults and just that one hierarchie in it and start news.daily with expctl=alternate-expire-file. And ofcourse the nologs option for all extra expire-runs. Ronald. -- // Ronald Hello (Ronald.Hello@cs.utwente.nl) // University of Twente // Department of Computer Science // The Netherlands
Re: Expiring just one hierarchy
Author: T. William Wells
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
29 lines
1413 bytes
1413 bytes
In article <6pkmoe$4j6$1@testinfo.uoguelph.ca>,
Steve Howie <showie@uoguelph.ca> wrote:
: Is there any way in INN 1.7.2 to just have expire look at one hierarchy?
: We're planning severe and frequent pruning of a hierarchy which will
: remain nameless (:-)) and want to know if there is a quick and dirty way
: to have it only process this one hierarchy rather than the entire spool
cd nameless-directory
rm *
Or, if that's too draconian, how about this:
cd nameless-directory
ls |
egrep '^[0-9]' |
tee /tmp/files |
sort -n |
tail -10 |
sort >/tmp/keep
comm -13 /tmp/keep /tmp/files |
xargs rm
(Written on the fly -- use at your own risk.)
The moral being that you can delete articles without using expire.
That's a normal event for the news system -- cancels just delete
the article without changing anything else.
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