Branch
Hash :
72900ab3
Author :
Thomas de Grivel
Date :
2023-04-22T18:37:18
#!/bin/sh
HOSTS="bim twice reed oaa os pfem vulon beetle proton pfem"
PATHS="$@"
if [ "x$PATHS" = "x" ]; then
PATHS="Documents c common-lisp config erlang kmx.io ports ruby txt"
fi
run () {
echo "$@"
"$@"
}
cd
for HOST in $HOSTS; do
for P in $PATHS; do
run rsync -a "$P" root@"$HOST":"$(dirname "$P")/"
done
done