# This script loops over the private and public data providers directories # and inserts the new data files into the LDM product queue PATH=/home/dwelsh/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin # main body of script echo Start `date -u` cd /wfipdata/private/awst/madis dir=array1/SODAR/workspace_SFAS_NCSUREESE/data date=`date +%y%m%d` fn="$date".mnd #echo $dir $fn echo getting "$dir"/"$fn" # get the file from NCSU curl --disable-epsv -o "$fn" -u WFIP:DOEwfip2011 ftp://152.1.40.22/"$dir"/"$fn" echo Stop `date -u` echo ----