port
This commit is contained in:
parent
b09ffd7c0f
commit
77a242d05b
1 changed files with 10 additions and 7 deletions
17
sync
17
sync
|
@ -6,16 +6,19 @@ OUT='output'
|
||||||
|
|
||||||
function rs {
|
function rs {
|
||||||
echo ; echo
|
echo ; echo
|
||||||
echo "→ ${1} @ ${2}"
|
echo "→ ${2} @ ${3} : ${1}"
|
||||||
echo
|
echo
|
||||||
rsync --verbose --progress \
|
rsync --verbose --progress \
|
||||||
|
--rsh "ssh -p ${1}" \
|
||||||
--archive --checksum --delete-before \
|
--archive --checksum --delete-before \
|
||||||
"${DIRECTORY}/${OUT}/" \
|
"${DIRECTORY}/${OUT}/" \
|
||||||
"${1}@${2}:${3}/"
|
"${2}@${3}:${4}/"
|
||||||
}
|
}
|
||||||
|
|
||||||
rs 'user' 'rwx.work' '/ssd/projects/public/rwx.work/blog'
|
rs 22 'user' 'rwx.work' '/ssd/projects/public/rwx.work/blog'
|
||||||
rs 'marc' 'envs.net' 'public_html'
|
rs 22 'marc' 'envs.net' 'public_html'
|
||||||
rs 'marc' 'tilde.team' 'public_html'
|
rs 22 'marc' 'tilde.team' 'public_html'
|
||||||
rs 'marc' 'tildecities.com' 'public_html'
|
rs 22 'marc' 'tildecities.com' 'public_html'
|
||||||
rs 'marc' 'tilde.institute' 'public_html'
|
rs 22 'marc' 'tilde.institute' 'public_html'
|
||||||
|
# rs 22 'marc' 'radiofreqs.space' 'public_html'
|
||||||
|
rs 9022 'marc' 'remotes.club' 'web'
|
||||||
|
|
Loading…
Reference in a new issue