mv_logs.bash
./ScryMUD/mud/grrmud/mv_logs.bash · 401 B
From the archive ScryMUD.2.1.1.stable.tar.gz
Download the archive « Back to the archive contents
#!/bin/bash # This script is used by ScryMUD to move it's log files into # a more convenient location. If one desired, this script # could even be made to ftp them somewhere else... LOG_TARG_DIR=$HOME/public_html LF=/tmp/mv_logs.log # First, remove the existing target. mkdir -p $LOG_TARG_DIR/World #echo "cp $1 $LOG_TARG_DIR/" >> $LF cp $1 $LOG_TARG_DIR/ #chmod a+r $LOG_TARG_DIR/BC_* >> $LF