Article View: news.admin.peering
Article #1602Re: Newbie question
From: Eli
Date: Thu, 30 Mar 2023 20:02
Date: Thu, 30 Mar 2023 20:02
26 lines
1982 bytes
1982 bytes
On 30 Mar 2023 at 19:11:26 CEST, "Julien ΓLIE"
<iulius@nom-de-mon-site.com.invalid> wrote:
> When you say "up to a certain date", do you mean before or after?
> If it is before, then just use expire.ctl and run news.daily so as to
> expire articles.
> Verify that you do not use the "-p" option in the expireoverflags and
> flags options of the news.daily command. (By default, arrival time is
> used, and "-p" switches to the actual date in Date header fields).
>
>
> If it is after, then it is a bit more complicated...
> Your history file in <pathdb> contains lines with several timestamps.
> You can find the storage tokens of articles arrived after March, 1st
> with the following commands:
>
> % convdate -n '01 Mar 2023 00:00 +0000'
> 1677628800
>
> % perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; my
> ($arrived, $expires, $posted) = split("~", $timestamps); print "$_\n" if
> $_ and $arrived >= 1677628800' history
>
> Pipe the result to "sm -r" to remove these articles.
Wow super! I'll archive this one.
Technical Details
Message-ID:
<BVlVL.1577174$w1nd.730010@fx10.ams4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<sXMOL.4024495$MJk2.1098149@fx06.ams4> <GdATL.4242798$MJk2.3308545@fx06.ams4> <tvmmjn$m3f$1@nnrp.usenet.blueworldhosting.com> <1rCTL.2300230$US27.1150783@fx01.ams4> <u04fru$gg7c$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <BVlVL.1577174$w1nd.730010@fx10.ams4> Subject: Re: Newbie question Date: Thu, 30 Mar 2023 20:02:41 GMT From: Eli <eliistheman@gmail.com> References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <GdATL.4242798$MJk2.3308545@fx06.ams4> <tvmmjn$m3f$1@nnrp.usenet.blueworldhosting.com> <1rCTL.2300230$US27.1150783@fx01.ams4> <u04fru$gg7c$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.admin.peering Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit User-Agent: Usenapp for MacOS X-Usenapp: v1.26.3/l - Full License Lines: 26 X-Complaints-To: abuse@eweka.nl Nntp-Posting-Date: Thu, 30 Mar 2023 20:02:41 UTC Organization: Eweka Internet Services