Subj : Take a look... To : All From : Bill McGarrity Date : Fri Mar 03 2017 14:53:00 Hiya gang... I'm putting together a bash script to review the binkd log over a weeks period. Now, I ahve no problem with it perl script creating the .txt file and the ../smbutil outting it into the correct message base. So all that's fine. I've added onto where I want to create a weekly "log folder" and move the binkd.log into that weekly folder. Here is what I have. Please let me know if indeed it will work. ***** 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 Any help would be appreciated... Thanks -- 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) .