Admin/mirror-main
author webertj
Fri, 26 Mar 2004 12:21:50 +0100
changeset 14487 157d0ea7b2da
parent 14229 bf89038cf551
child 16278 dda44b201c4d
permissions -rwxr-xr-x
Installed solvers now determined at call time (as opposed to compile time)

#!/usr/bin/env bash
#
# $Id$
#
# Mirrors the Isabelle home page (those directly on http://isabelle.in.tum.de)
# It does *not* mirror the Isabelle distribution pages and downloads. There
# is a separate utility (mirror-dist) for that.
#
# Usage: mirror-main
#

HOST=$(hostname)

case ${HOST} in
  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

rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
  $USER@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.