#!/bin/csh # # New version using rsync, 2005 Nov 7. We disabled rcp. # # # This routine is called from get_today, already in the FITS archive # area. We just create the date directory and jump into it. # if ($#argv == 0) then echo -n "Enter date (yyyymmdd): " set gdate = $< else set gdate=$argv[1] endif if (! -e $gdate) mkdir $gdate cd $gdate # # Now get the grams, image files and logs. echo " " echo Copying grams, images, logs /aux/solar/bin/rsync -uv --password-file /data1/WWW/Bin/rsyncwrd webmastr@lilikoi::ivmwork/${gdate}/grams/\* . # and get the mosaics, if any echo " " echo Checking for mosaic /aux/solar/bin/rsync -uvr --password-file /data1/WWW/Bin/rsyncwrd webmastr@lilikoi::ivmwork/${gdate}/mosaic .