This commit is contained in:
Marc Beninca 2020-04-14 02:01:30 +02:00
parent 1c8a1c36b8
commit 1a6efd73d6

View file

@ -5,14 +5,13 @@ DIRECTORY="$(dirname "${FILE}")"
OUT='output' OUT='output'
function rs { function rs {
echo ; echo
echo "${2} @ ${3} : ${1}" echo "${2} @ ${3} : ${1}"
echo
rsync --verbose --progress \ rsync --verbose --progress \
--rsh "ssh -o 'LogLevel Error' -p ${1}" \ --rsh "ssh -o 'LogLevel Error' -p ${1}" \
--archive --checksum --delete-before \ --archive --checksum --delete-before \
"${DIRECTORY}/${OUT}/" \ "${DIRECTORY}/${OUT}/" \
"${2}@${3}:${4}/" "${2}@${3}:${4}/" \
> /dev/null
} }