From 93d656e86eb98df1f6942bcdbd0c0626d9c84f74 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 25 Jul 2010 00:47:02 +0900 Subject: [PATCH] sync x200 with x201 and vice versa Signed-off-by: Nico Schottelius --- x20x-sync | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 x20x-sync diff --git a/x20x-sync b/x20x-sync new file mode 100755 index 0000000..86cd9eb --- /dev/null +++ b/x20x-sync @@ -0,0 +1,13 @@ +#!/bin/sh + +case $(hostname) in + kr) + other="ikn.ethz.ch" + ;; + + ikn) + other="kr.ethz.ch" + ;; +esac + +rsync -av --delete --exclude .electricsheep ~/ $other: