TZUTC: -0500
MSGID: 3681.fido_binkd@1:124/5016 2b51c84c
PID: Synchronet 3.20a-Linux master/25f8f69d7 Sep 17 202 GCC 11.4.0
TID: SBBSecho 3.20-Linux master/25f8f69d7 Sep 17 2024 14:05 GCC 11.4.0
BBSID: EOTLBBS
CHRS: ASCII 1
On Thu, 19 Sep 2024 19:27:58 +0200
"Floris van Unen" (2:280/2050)
wrote:
> Hello Rick!
>
> 19 Sep 24 09:51, you wrote to all:
>
> RS> Hello All!
>
> RS> I am trying to track down an error from a downlink... How would
> RS> I copy pkts before process? Is in the main-in script I use or ?
> RS> I believe it has to be when binkd receives and before hpt
> RS> tosses?
>
> I got my binkd to copy anything that it receives before it gets
> tossed. In the binkd config i added:
>
> ===
> # Run an external program.
> # The "!" before program pathname means immediate program execution
> # after receiving the file.
> # ***
> # Macros: *F - complete name of received file,
> # *H - remote hostname or IP,
> #
> exec "/path/to/archiver.sh *F *H" *
> ===
>
> and the archiver.sh script is
> ===
> #!/bin/bash
>
> Y=`date '+%Y'`
> W=`date '+%V'`
> B=`basename $1`
> L=/path/to/archive/$Y/$W
> mkdir -p $L
> cp -vf $1 $L/$2_$B
> ===
>
> This gives me an archive folder per year and in there per week of the
> incoming packets prefixed with the hostname where they came from.
>
> enjoy,
> Floris
Nice script. it's a shame someone didn't do something like that the day
fidonet started. It would be a great archive to have.
--
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
--- SBBSecho 3.20-Linux
* Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)
SEEN-BY: 10/0 1 90/1 102/401 103/1 705 105/81 106/201 124/5016 129/305
SEEN-BY: 153/7715 214/22 218/0 1 215 601 700 720 840 860 870 880 930
SEEN-BY: 218/940 226/30 227/114 229/110 114 200 206 275 300 307 317
SEEN-BY: 229/426 428 470 550 664 700 266/512 280/464 282/1038 291/111
SEEN-BY: 292/854 301/1 320/219 322/757 342/200 396/45 633/280 712/848
PATH: 124/5016 218/700 229/426
|