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

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{at}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{at}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{at}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)
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: 3634/12 123/500 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™.