shrink
This commit is contained in:
parent
1c8a1c36b8
commit
1a6efd73d6
1 changed files with 2 additions and 3 deletions
5
sync.sh
5
sync.sh
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue