#!/bin/bash #set -x set -e #ls -alh export RSYNCSRC="$(pwd)/mirror/" export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/" rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST exit 0