This commit is contained in:
Marc Beninca 2020-12-21 11:31:41 +01:00
parent ac58c84d5a
commit 9e677f201a

67
sync.sh
View file

@ -4,7 +4,11 @@ DIRECTORY="$(dirname "${FILE}")"
OUT='output' OUT='output'
function rs { echo; echo "${2} @ ${3} : ${1}"; ssh -o 'LogLevel Error' -p ${1} "${2}@${3}" df -h .;} function rs { echo; \
echo "${2} @ ${3} : ${1}"; \
ssh -o 'LogLevel Error' -p ${1} "${2}@${3}" \
df -h .
}
function rs { function rs {
echo "${2} @ ${3} : ${1}" echo "${2} @ ${3} : ${1}"
rsync --verbose --progress \ rsync --verbose --progress \
@ -15,16 +19,41 @@ rsync --verbose --progress \
> /dev/null > /dev/null
} }
### FastCGI + PHP
## .
# .cgi .lua .pl .py .sh /cgi-bin .php
rs 22 'marc' 'envs.net' 'public_html' rs 22 'marc' 'envs.net' 'public_html'
rs 22 'mspe' 'envs.net' 'public_html' rs 22 'mspe' 'envs.net' 'public_html'
# .cgi .lua .pl .py .sh /cgi-bin .php
rs 22 'marc' 'tilde.team' 'public_html' rs 22 'marc' 'tilde.team' 'public_html'
rs 22 'mspe' 'tilde.team' 'public_html' rs 22 'mspe' 'tilde.team' 'public_html'
# .cgi .php
rs 22 'marc' 'tilde.institute' 'public_html' rs 22 'marc' 'tilde.institute' 'public_html'
rs 22 'mspe' 'tilde.institute' 'public_html' rs 22 'mspe' 'tilde.institute' 'public_html'
rs 22 'mspe' 'fr.tild3.org' 'public_html' ## ~
rs 22 'marcbeninca' 'tilde.club' 'public_html'
rs 22 'mspe' 'tilde.club' 'public_html'
### PHP → CGI
## ~
rs 22 'marc' 'thunix.net' 'public_html'
rs 22 'mspe' 'thunix.net' 'public_html'
rs 22 'mspe' 'summit.tildex.com' 'public_html'
rs 22 'marc' 'yourtilde.com' 'public_html'
rs 22 'mspe' 'yourtilde.com' 'public_html'
rs 22 'marc' 'aussies.space' 'public_html'
rs 22 'mspe' 'aussies.space' 'public_html'
### PHP
rs 22 'marc' 'radiofreqs.space' 'public_html' rs 22 'marc' 'radiofreqs.space' 'public_html'
rs 22 'mspe' 'radiofreqs.space' 'public_html' rs 22 'mspe' 'radiofreqs.space' 'public_html'
@ -32,24 +61,23 @@ rs 22 'mspe' 'radiofreqs.space' 'public_html'
rs 9022 'marc' 'remotes.club' 'web' rs 9022 'marc' 'remotes.club' 'web'
rs 9022 'mspe' 'remotes.club' 'web' rs 9022 'mspe' 'remotes.club' 'web'
# ~ ## http
rs 22 'mspe' 'ctrl-c.club' 'public_html'
### ø
## .
rs 22 'mspe' 'fr.tild3.org' 'public_html'
## ~
rs 22 'mspe' 'theasylum.team' 'public_html' rs 22 'mspe' 'theasylum.team' 'public_html'
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 'marc' 'tilde.town' 'public_html'
rs 22 'mspe' 'tilde.town' 'public_html' rs 22 'mspe' 'tilde.town' 'public_html'
rs 22 'marc' 'yourtilde.com' 'public_html'
rs 22 'mspe' 'yourtilde.com' 'public_html'
rs 22 'mspe' 'tilde.fun' 'html' rs 22 'mspe' 'tilde.fun' 'html'
rs 22 'mspe' 'dimension.sh' 'public_html' rs 22 'mspe' 'dimension.sh' 'public_html'
@ -57,13 +85,8 @@ rs 22 'mspe' 'dimension.sh' 'public_html'
rs 22 'marc' 'tilde.pw' 'public_html' rs 22 'marc' 'tilde.pw' 'public_html'
rs 22 'mspe' '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' 'squiggle.city' 'public_html'
# http ## http
rs 22 'mspe' 'ctrl-c.club' 'public_html'
rs 22 'mspe' 'rw.rs' 'public_html' rs 22 'mspe' 'rw.rs' 'public_html'