#!/usr/bin/env bash #----------------------------------------------------------------------- # copy tcl file with the files missing by express production # into a current directory #----------------------------------------------------------------------- file=$1 remote_dir=fcdflnx3.fnal.gov:/cdf/scratch/cdfopr/cron/stnmaker_express/tcl if [ `hostname -f` == "fcdflnx3.fnal.gov" ] ; then cp /cdf/scratch/cdfopr/cron/stnmaker_express/tcl/$file . else rcp -N cdfopr@$remote_dir/$file . fi