1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash #set -x set -e #ls -alh export RSYNCSRC="$(pwd)/container/" export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/snapshots/sdk/docker/" rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST exit 0