Admin/mirror-website
changeset 17671 e9e341bc7d42
child 18173 8ae6a9e7ff0e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Admin/mirror-website	Tue Sep 27 15:30:37 2005 +0200
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+#
+# $Id$
+#
+# mirrors the Isabelle website
+
+HOST=$(hostname)
+
+case ${HOST} in
+  sunbroy2)
+    DEST=/home/html/isabelle/html-data
+    ;;
+  atbroy1)
+    DEST=/home/html/isabelle/html-data
+    ;;
+  *.cl.cam.ac.uk)
+    USER=paulson
+    DEST=/anfs/www/html/Research/HVG/Isabelle
+    ;;
+  *)
+    echo "Unknown destination directory for ${HOST}"
+    exit 2
+    ;;
+esac
+
+exec $(dirname $0)/isasync -dw $DEST