Admin/mirror-website
author huffman
Thu, 08 Dec 2011 13:25:40 +0100
changeset 45786 3f07a7a91180
parent 36859 51af1657263b
permissions -rwxr-xr-x
reinstate old functions cfst and csnd as abbreviations

#!/usr/bin/env bash
#
# mirrors the Isabelle website

HOST=$(hostname)

case ${HOST} in
  sunbroy* | atbroy* | macbroy*)
    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 $DEST