home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 8762 
 Jay Harris to Floris van Unen 
 Re: Copy before process.. 
 19 Sep 24 20:09:06 
 
MSGID: 1:229/664 b9710513
REPLY: 2:280/2050 66ec6135
TZUTC: -0400
TID: hpt/lnx 1.9 2024-03-02
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)
SEEN-BY: 90/1 105/81 106/201 129/305 153/7715 218/700 226/30 227/114
SEEN-BY: 229/110 114 200 206 275 300 307 317 426 428 470 550 664 700
SEEN-BY: 266/512 282/1038 291/111 292/854 320/219 322/757 342/200
SEEN-BY: 396/45 633/280 712/848
PATH: 229/664 426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca