Hash :
3a322415
Author :
Thomas de Grivel
Date :
2024-06-30T10:29:07
#!/bin/sh
if [ "x$1" = "x-v" ]; then
V=P
shift
fi
HOST=s.kmx.io
PATHS="$@"
if [ "x$PATHS" = "x" ]; then
PATHS="Documents Pictures c/thodg common-lisp/thodg config"
PATHS="$PATHS erlang/thodg kmx.io mathematics patrice ports"
PATHS="$PATHS ruby/thodg txt/thodg"
fi
run () {
echo "$@"
"$@"
}
cd
for P in $PATHS; do
run rsync -a$V --delete-before "$HOST":"$P" "$(dirname "$P")/"
done