Megatest

rsync.sh at [4e3d7aed7d]
Login

File tests/fslsync/tests/sync/rsync.sh artifact 035d9817f0 part of check-in 4e3d7aed7d


#!/usr/bin/env bash

# Sync to remote cache
rsync -avz $FSLSAREA/$AREANAME/ $SITENAME:$WORKAREA/$SITENAME/$AREANAME/ &
# Sync to local cache
rsync -avz $SITENAME:$FSLSAREA/$AREANAME/ $WORKAREA/$SITENAME/$AREANAME/ &

# Wait until rsyncs complete
wait

echo done