Subj : Take a look... To : Jeff Smith From : Bill McGarrity Date : Fri Mar 03 2017 18:02:00 -=> Jeff Smith wrote to Bill Mcgarrity on 03-03-17 16:28 <=- JS> Hello Bill, >I'm putting together a bash script to review the binkd log over a weeks eriod JS> Cool. > Here is what I have. Please let me know if indeed it will work. JS> I have Synchronet installed on separate Linux machine here. I will see JS> how it works. And offer any thoughts or suggestions. > ***** Start > #!/bin/bash > SBBSCTRL=/home/pi/sbbs/ctrl/ && export SBBSCTRL > logdate=$(date +"%m_%d_%Y") > cd /home/pi/sbbs/exec > rm -r wekstats.txt > cd /home/pi/binkd-1.1 > perl binkdstat-wk42.pl -s -l binkd.log -p -1W +7 > > /home/pi/sbbs/exec/wekstats.txt > cd /home/pi/sbbs/exec > ./smbutil -fSportNetHub -tAll -sBink_Weekly_Stats > i/home/pi/sbbs/exec/wekstats.txt /home/pi/sbbs/data/subs/1generals.shd > chmod 777 /home/pi/sbbs/exec/wekstats.txt > ./sbbsecho -LINF > /home/pi/sbbs/events/outeror2.log > cd > cd /home/pi/binkd-1.1/logs > mkdir /home/pi/binkd-1.1/logs/$logdate && > mv /home/pi/binkd-1-1/binkd.log /home/pi/binkd-1.1/logs/$logdate > ***** End Thank you... my main concern is the 'date' part. I did some 'googling' and come up with that to make a folder with the proper date so I'd have weekly folders just as a reference. I'll rm them after about a month or so. -- Bill Telnet: tequilamockingbirdonline.net Web: bbs.tequilamockingbirdonline.net:81 FTP: ftp.tequilamockingbirdonline.net:2121 IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697 Radio: radio.tequilamockingbirdonline.net:8010/live .... Look Twice... Save a Life!!! Motorcycles are Everywhere!!! === MultiMail/Win32 v0.50 --- SBBSecho 3.00-Win32 # Origin: TequilaMockingbird Online - Toms River, NJ (1:266/404) * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100) .