Subj : Re: Copy before process.. To : Floris van Unen From : Jay Harris Date : Thu Sep 19 2024 08:09 pm On 19 Sep 2024, Floris van Unen said the following... Fv> and the archiver.sh script is Fv> === Fv> #!/bin/bash Fv> Fv> Y=`date '+%Y'` Fv> W=`date '+%V'` Fv> B=`basename $1` Fv> L=/path/to/archive/$Y/$W Fv> mkdir -p $L Fv> cp -vf $1 $L/$2_$B Fv> === Thanks for this. This worked well for my IPv4 nodes but not for the IPv6 ones. I made a modification that uses their first AKA instead: In binkd.conf: exec "!/path/to/archiver.sh *F *A0" * === #!/bin/bash Y=`date '+%Y'` W=`date '+%V'` B=`basename $1` L=/path/to/archive/$Y/$W N=`echo $2 | tr ":/@." "----"` mkdir -p $L cp -vf $1 $L/$N\_$B === This will name the files like this: 1-229-426-fidonet_41801563.PKT 21-3-0-fsxnet_0008a828.pkt 618-618-1-micronet_00DA0000.TH6 Jay .... Dachshunds are really small crocodiles with fur --- Mystic BBS v1.12 A49 2024/05/29 (Linux/64) * Origin: Northern Realms (1:229/664) .