Subj : Pktdate works fine.. :)
To   : Janis Kracht
From : mark lewis
Date : Fri Mar 25 2016 05:47 pm


25 Mar 16 16:47, you wrote to Vince Coen:

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

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

JK> Interesting.. :)

yup... i've been running it here since it was first every released... have
updated through each version... have just seen that #6 was released but haven't
yet updated to it... i stopped changing the dates in the packets after the last
round of regurges... as you can see in your output, the date was too old so
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...

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


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...


)\/(ark

Always Mount a Scratch Monkey

... Bart's Blackboard: "The cafeteria deep fryer is not a toy."
---
* Origin:  (1:3634/12.73)