Admin/mirror-main
author wenzelm
Tue, 05 Sep 2000 18:43:54 +0200
changeset 9847 32ce11c3f6b1
parent 9286 4ccadbdbbd24
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
added 'iff' modifier; removed 'other' modifier;

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