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'
|
||||
|
||||
function rs {
|
||||
echo ; echo
|
||||
echo "→ ${2} @ ${3} : ${1}"
|
||||
echo
|
||||
rsync --verbose --progress \
|
||||
--rsh "ssh -o 'LogLevel Error' -p ${1}" \
|
||||
--archive --checksum --delete-before \
|
||||
"${DIRECTORY}/${OUT}/" \
|
||||
"${2}@${3}:${4}/"
|
||||
"${2}@${3}:${4}/" \
|
||||
> /dev/null
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue