πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1655

Re: Renumber newsgroups by post date

#1655
From: Eli
Date: Sun, 30 Apr 2023 18:23
20 lines
1639 bytes
On 29 Apr 2023 at 23:17:13 CEST, "Julien Γ‰LIE"
<iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Matija,
> 
>> - for each group, rename files so their numbers sequentially follow the
>>    chronological order of `Date` headers in their content (you might need
>>    to write a relatively simple script for that; I don't know if any exist
>>    already)
> 
> FWIW, in <patharticles>, the dates can be obtained with something like:
>    grep -m 1 '^Date: ' *
> and the header field values converted to epoch with the convdate tool,
> like in:
>    convdate -n 'Fri, 28 Apr 2023 15:11:26 +0200'
> 
> 
> You'll also need updating the Xref header fields in articles.

Thank you Julien.
Technical Details
Message-ID: <ymy3M.782332$l5R6.417700@fx15.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-mail
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <20230423160822.Aq0OKbfG2jj0@sewer.dizum.com> <l8N1M.4640532$miq3.438385@fx02.ams4> <slrnu4nhfu.t0i.mnalis-news@leia.home.lan> <u2k1gq$2jdog$2@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <ymy3M.782332$l5R6.417700@fx15.ams4>
Subject: Re: Renumber newsgroups by post date
Date: Sun, 30 Apr 2023 18:23:26 GMT
From: Eli <eliistheman@gmail.com>
References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <20230423160822.Aq0OKbfG2jj0@sewer.dizum.com> <l8N1M.4640532$miq3.438385@fx02.ams4> <slrnu4nhfu.t0i.mnalis-news@leia.home.lan> <u2k1gq$2jdog$2@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.6/l - Full License
Lines: 20
X-Complaints-To: abuse@eweka.nl
Nntp-Posting-Date: Sun, 30 Apr 2023 18:23:26 UTC
Organization: Eweka Internet Services