Hash :
2e75be5a
Author :
Thomas de Grivel
Date :
2024-06-19T12:27:58
#!/bin/sh
HOSTS=
# s.kmx.io
#HOSTS="$HOSTS bim reed twice"
# s.kmx.io sparc64
#HOSTS="$HOSTS neutron proton"
# kmx.io remote
HOSTS="$HOSTS oaa os vuchil vulon vusea vusing"
PATHS="$@"
if [ "x$PATHS" = "x" ]; then
PATHS="Documents c/thodg common-lisp/thodg config erlang/thodg kmx.io mathematics patrice ports ruby/thodg txt/thodg"
fi
run () {
echo "$@"
"$@"
}
cd
for HOST in $HOSTS; do
for P in $PATHS; do
run rsync -a --delete-before "$P" "$HOST":"$(dirname "$P")/"
done
done