home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 8092 
 Stephen Walsh to Rick Smith 
 incoming mail 
 09 Aug 22 10:44:54 
 
REPLY: 1:105/85 62f0fb8d
MSGID: 3:633/280 62f1af27
CHRS: UTF-8 2
TZUTC: 1000
TID: hpt/lnx 1.9 2022-07-03
Hello Rick!

08 Aug 22 05:01, you wrote to me:

 SW>> Even though I'm running linux this is what my exec line looks
 SW>> like, and it get's executed every time:

 RS> Yeah my linux setups are just fine been doing those for years, Os2 is
 RS> a little finicky with things.

I haven't used OS/2 in so long, the cheese has whole's in it. #;)


 SW>> The hpt-copy.sh makes a backup of the mail, in year/month/day
 SW>> directories, and then runs the hpt process's to do the mail.

 RS> Thats really cool...

someone posted it to either here or another network.

I have hpt creating the lockfile in it's config.

---cut me here---
#!/bin/bash

if [ -f /husky/semafore/hpt ]
then exit
fi

echo "copying packets"
SECURE=/husky/inbound.sec
BACKUPDIR=/husky/mail-backup

pushd $BACKUPDIR

if [ ! -d "`date +%Y`" ]; then
        mkdir `date +%Y`
fi

cd `date +%Y`

if [ ! -d "`date +%m`" ]; then
        mkdir `date +%m`
fi

cd `date +%m`

if [ ! -d "`date +%d`" ]; then
        mkdir `date +%d`
fi

cd `date +%d`

find $SECURE -iname "*.pkt" -exec cp -p \{\} ./ \;
find $SECURE -iname "*.PKT" -exec cp -p \{\} ./ \;

for f in mo tu we th fr sa su; do
    find $SECURE -iname "*.${f}?" -exec cp -p \{\} ./ \;
done
/husky/bin/hpt toss
sleep 2
/husky/bin/hpt afix
/husky/bin/htick scan
sleep 2
/husky/bin/hpt pack
rm /husky/semafore/hpt
---cut me here---





Stephen


--- GoldED+/LNX 1.1.5-b20220409
 * Origin: Dragon's Lair BBS, Telnet: dragon.vk3heg.net (3:633/280)
SEEN-BY: 1/123 15/0 90/1 105/81 106/201 114/709 120/340 123/131 129/305
SEEN-BY: 129/331 153/7715 218/700 227/114 229/111 112 113 200 206
SEEN-BY: 229/317 424 426 428 470 550 664 700 266/512 280/464 282/1038
SEEN-BY: 292/854 317/3 320/219 322/757 342/200 396/45 633/267 280
SEEN-BY: 633/281 384 410 412 416 418 420 509 712/848 770/1
PATH: 633/280 229/426


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

(c) 1994,  bbs@darkrealms.ca