Admin/mirror-main
author wenzelm
Thu, 27 Sep 2001 12:24:40 +0200
changeset 11581 d7bb261e3a3b
parent 9286 4ccadbdbbd24
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
-v option;

#!/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/.