nsbin/x20x-sync
Nico Schottelius c70431fb0d correct subject
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-12-01 14:26:27 +01:00

15 lines
197 B
Bash
Executable file

#!/bin/sh
dir="/home/"
case $(hostname) in
kr)
other="root@ikn.ethz.ch"
;;
ikn)
other="root@kr.ethz.ch"
;;
esac
sudo rsync -av --delete-before --delete $dir $other:$dir