60 lines
1.4 KiB
Bash
Executable file
60 lines
1.4 KiB
Bash
Executable file
#! /bin/bash
|
|
FILE="$(realpath "${BASH_SOURCE[0]}")"
|
|
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}/"
|
|
}
|
|
|
|
|
|
rs 22 'marc' 'envs.net' 'public_html'
|
|
rs 22 'mspe' 'envs.net' 'public_html'
|
|
|
|
rs 22 'marc' 'tilde.team' 'public_html'
|
|
rs 22 'mspe' 'tilde.team' 'public_html'
|
|
|
|
rs 22 'marc' 'tildecities.com' 'public_html'
|
|
rs 22 'mspe' 'tildecities.com' 'public_html'
|
|
|
|
rs 22 'marc' 'tilde.institute' 'public_html'
|
|
rs 22 'mspe' 'tilde.institute' 'public_html'
|
|
|
|
rs 22 'mspe' 'fr.tild3.org' 'public_html'
|
|
|
|
rs 22 'marc' 'radiofreqs.space' 'public_html'
|
|
rs 22 'mspe' 'radiofreqs.space' 'public_html'
|
|
|
|
rs 9022 'marc' 'remotes.club' 'web'
|
|
rs 9022 'mspe' 'remotes.club' 'web'
|
|
|
|
|
|
rs 22 'marc' 'thunix.net' 'public_html'
|
|
rs 22 'mspe' 'thunix.net' 'public_html'
|
|
|
|
rs 22 'mspe' 'summit.tildex.com' 'public_html'
|
|
|
|
rs 22 'marcbeninca' 'tilde.club' 'public_html'
|
|
rs 22 'mspe' 'tilde.club' 'public_html'
|
|
|
|
rs 22 'marc' 'tilde.town' 'public_html'
|
|
rs 22 'mspe' 'tilde.town' 'public_html'
|
|
|
|
rs 22 'marc' 'tilde.pw' 'public_html'
|
|
rs 22 'mspe' 'tilde.pw' 'public_html'
|
|
|
|
rs 22 'marc' 'aussies.space' 'public_html'
|
|
rs 22 'mspe' 'aussies.space' 'public_html'
|
|
|
|
rs 22 'mspe' 'squiggle.city' 'public_html'
|
|
|
|
|
|
rs 22 'mspe' 'rw.rs' 'public_html'
|