#!/bin/csh# Keep 2nd workstation in sync with primary workstation so that could switch in case of problems## The directores to syncset dir_list = 'jc174 rapid users'set local_path = /local/users/pstar/rpdmoc/set remote_fs = 'pstar@akeake:'set remote_path = /local/users/pstar/rpdmoc/foreach dd ($dir_list) echo ' ' echo ' -------------- ' echo Going to sync: $local_path$dd echo to: $remote_fs$remote_path echo Start `date` rsync -v -a --delete $local_path$dd $remote_fs$remote_pathend# Sync all of the programs directoryset local_path = /local/users/pstar/programsset remote_fs = 'pstar@akeake:'set remote_path = /local/users/pstar/echo ' 'echo ' -------------- 'echo Going to sync: $local_pathecho to: $remote_fs$remote_pathecho Start `date`rsync -v -a --delete $local_path $remote_fs$remote_path