site/sync.sh

62 lines
1.4 KiB
Bash
Raw Normal View History

2020-04-12 03:13:28 +02:00
#! /bin/bash
FILE="$(realpath "${BASH_SOURCE[0]}")"
DIRECTORY="$(dirname "${FILE}")"
OUT='output'
function rs {
2020-04-12 03:21:22 +02:00
echo "${2} @ ${3} : ${1}"
2020-04-12 03:13:28 +02:00
rsync --verbose --progress \
2020-04-12 05:44:29 +02:00
--rsh "ssh -o 'LogLevel Error' -p ${1}" \
2020-04-12 03:13:28 +02:00
--archive --checksum --delete-before \
"${DIRECTORY}/${OUT}/" \
2020-04-14 02:01:30 +02:00
"${2}@${3}:${4}/" \
> /dev/null
2020-04-12 03:13:28 +02:00
}
2020-04-12 08:59:47 +02:00
2020-04-12 03:21:22 +02:00
rs 22 'marc' 'envs.net' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'envs.net' 'public_html'
2020-04-12 03:21:22 +02:00
rs 22 'marc' 'tilde.team' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'tilde.team' 'public_html'
2020-04-12 03:21:22 +02:00
rs 22 'marc' 'tildecities.com' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'tildecities.com' 'public_html'
2020-04-12 03:21:22 +02:00
rs 22 'marc' 'tilde.institute' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'tilde.institute' 'public_html'
2020-04-12 11:15:34 +02:00
rs 22 'mspe' 'fr.tild3.org' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'marc' 'radiofreqs.space' 'public_html'
rs 22 'mspe' 'radiofreqs.space' 'public_html'
2020-04-12 03:21:22 +02:00
rs 9022 'marc' 'remotes.club' 'web'
2020-04-12 08:59:47 +02:00
rs 9022 'mspe' 'remotes.club' 'web'
2020-04-12 05:27:14 +02:00
2020-04-14 03:48:19 +02:00
rs 22 'mspe' 'theasylum.team' 'public_html'
2020-04-12 05:27:14 +02:00
rs 22 'marc' 'thunix.net' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'thunix.net' 'public_html'
2020-04-13 06:41:28 +02:00
rs 22 'mspe' 'summit.tildex.com' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'marcbeninca' 'tilde.club' 'public_html'
2020-04-12 05:32:13 +02:00
rs 22 'mspe' 'tilde.club' 'public_html'
2020-04-12 08:59:47 +02:00
2020-04-12 05:32:13 +02:00
rs 22 'marc' 'tilde.town' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'tilde.town' 'public_html'
2020-04-12 05:39:48 +02:00
rs 22 'marc' 'tilde.pw' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'tilde.pw' 'public_html'
2020-04-12 05:39:48 +02:00
rs 22 'marc' 'aussies.space' 'public_html'
2020-04-12 08:59:47 +02:00
rs 22 'mspe' 'aussies.space' 'public_html'
2020-04-12 05:39:48 +02:00
rs 22 'mspe' 'squiggle.city' 'public_html'
2020-04-13 07:47:03 +02:00
rs 22 'mspe' 'rw.rs' 'public_html'