#!/bin/csh # #Compare logs on lilikoi in ~ivm/tarlogs, see if there are any # with later dates than the last one in # $WEB_ROOT/Reference/IVM/survey_tape_logs/$year # Get new ones. Uses rsync. --DLM 97.08.18 # Switch to Koa, net link out BJL 2001.06.04 # # Completed conversion to 4-char year in lilikoi filenames DLM Jan 2000 # set year = `date +%Y` echo "Checking for new IVM tarlogs" >! /tmp/t_ivm_msg /aux/solar/bin/rsync -uv --rsync-path /usr/local/bin/rsync koa:/scrc/IVM/tarlogs/tarlog.${year}\* /data1/WWW/Reference/IVM/survey_tape_logs/${year}/ >> /tmp/t_ivm_msg #rmail labonte < /tmp/t_ivm_msg rmail mickey < /tmp/t_ivm_msg /usr/bin/rm /tmp/t_ivm_msg