TIP: Click on subject to list as thread! ANSI
echo: filegate
to: mark lewis
from: Janis Kracht
date: 2016-03-25 20:00:30
subject: Pktdate works fine.. :)

Hi Mark,

>> I just dug up an old packet I had laying around here and tried pktdate on
>> it:

>> bbs{at}filegate:~/pktdate$ ./pktdate -me -c 1a35fac1.pkt Pktdate Rev. 1.5:
>> processing 1a35fac1.pkt (type: 2+) Packet header date (D/M/Y): 19.9.2012
>> fixed to 25.3.2016. Packet sender: 1:261/38.0 Msg #001: Date "19 Sep 12
>> 15:50:00" fixed to "25 Mar 16  16:38:51" (rc 8).
Msg #001: Message sender
>> is "Nick Kill{at}1:261/38". Msg #002: Date "19 Sep 12 
15:54:22" fixed to "25
>> Mar 16  16:38:51" (rc 8). Msg #002: Message sender is "Janis
>> Kracht{at}1:261/38". Wrote changes to 1a35fac1.pkt.

>> Interesting.. :)

> yup... i've been running it here since it was first every released... have

I used to run it way back.. then never noticed the source until Ben sent it out


> pktdate fixed it to today's date... that may cause other systems to not catch
> the post as a dupe if their dupe database goes back that far...

Sure.. like I said this was just an old packet I had kept for some reason
or other.. so it was a good test pkt for this.. (i.e., not a live packet in
the stream).

> anyway, here's what i currently use...


> rem  set pdate=pktdate -k -c -l2 -S -L%fd%\pktd-sec.log
> rem ***
> rem ***  -c means to correct the pkt... stopped correcting on 7 Jul 2014
> rem ***  -k means to keep the original pkt if we correct any dates in it
> rem ***  -p means "past" and "9y" means "9+ years"
> rem ***  -f means "future" and "1m" means "1+
month"
> rem ***  -l is the logging level
> rem ***  -S changes seadog dates to standard ftsc dates
> rem ***  -L is the log file name
> set pdate=pktdate -k -p9y -f1m -l2 -S -L%fd%\pktd-sec.log
> gosub do_mydate
> echo %MYDATE% [723]   %pdate% | %SLOGS%
> for %%i in ( *.pkt) do %pdate% %%i

Looks good..

> i set my command in an environment variable so i can echo it to my processing
>log... then i just toss it at each pkt in my secure and insecure directories..
> each has its own log... in the above, if the date is older than 9 years or
>newer than 1 month in the future then we note it in the processing log... if i
>was using "-c" it would be corrected in the pkt... i also
have it changing the
> seadog date format to the fido date format since all my software expects the
> fido format...

Also makes sense :)

Take care,
Janis

--- BBBS/Li6 v4.10 Dada-2
* Origin: Prism bbs (1:261/38)
SEEN-BY: 14/5 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1
SEEN-BY: 218/700 222/2 230/150 240/1120 249/303 250/1 261/38 100 266/404
SEEN-BY: 267/155 280/1027 282/1056 292/907 908 320/119 219 340/400 393/68 70
SEEN-BY: 633/267 280 640/384 712/620 848 770/1 801/161
@PATH: 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.