#!/bin/csh -f # # bak in Amsterdam before start of jc184 uhdas trial # 3 July 2019 # # 1) rsync proc directory from the local atsea copy to the editing directory # # If the script hasn't been run recently, there will # be a lot of files to sync across. The processing on the uhdas # server updates plenty of things in routine processing every few minutes. # If the script is then immediately run again, there will be a few files # that are updated every ping. # # List of cruise segments to be processed is found in # ~/cruise/data/vmadcp/cruise_segments set ldir = ~/cruise/data/vmadcp foreach i (`cat ~/cruise/data/vmadcp/cruise_segments`) echo echo echo syncing echo ${ldir}/atsea/${i}/proc echo to echo ${ldir}/postprocessing/${i}/proc_editing rsync -auv ${ldir}/atsea/${i}/proc/ ${ldir}/postprocessing/${i}/proc_editing/ echo echo end