Subj : Copy before process.. To : Rick Smith From : Floris van Unen Date : Thu Sep 19 2024 07:27 pm 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 I copy RS> pkts before process? Is in the main-in script I use or ? I believe it RS> has to be when binkd receives and before hpt 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 --- GoldED+/LNX 1.1.5--b20170303 * Origin: ----> Fidian on Azure West-Europe (Holland) IPV6. (2:280/2050) .