Statistics
| Branch: | Revision:

iof-tools / rsync-master-node.sh @ 27cc0deb

History | View | Annotate | Download (377 Bytes)

1
#!/usr/bin/env bash
2

    
3
if [ $# -eq 1 ]; then
4
	testbed="$1"
5
else
6
	testbed="twist"
7
fi
8

    
9
. ./setenv.sh $testbed
10

    
11
IOF_FOLDER=${HOME_FOLDER}/iof-tools/
12

    
13
ssh -F ${CONFIG_FILE} ${MASTER_NODE} "mkdir -p ${IOF_FOLDER}"
14
rsync -avcz --exclude-from=rsync-ignore -e "ssh -F ${CONFIG_FILE} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress ./ ${MASTER_NODE}:${IOF_FOLDER}