Admin/mirror-main
changeset 8222 55fed562d8ed
child 8225 fc5db20d7f6f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Admin/mirror-main	Wed Feb 09 14:03:29 2000 +0100
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# $Id$
+#
+
+case $(hostname) in
+  sunbroy30)
+    DEST=/home/html/isabelle/html-data
+    ;;
+  foobar)
+    DEST=/foo/bar
+    ;;
+  *)
+    echo "Unknown destination directory!"
+    exit 2
+    ;;
+esac
+
+rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
+  sunbroy1.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.