Admin/mirror-main
author paulson
Thu, 13 Dec 2001 12:33:23 +0100
changeset 12485 3df60299a6d0
parent 9286 4ccadbdbbd24
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
Relaxed the precondition of UN_upper_le

#!/bin/bash
#
# $Id$
#

HOST=$(hostname)

case ${HOST} in
  sunbroy51)
    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@sunbroy1.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.