Admin/mirror-main
author nipkow
Fri, 24 Mar 2000 08:56:48 +0100
changeset 8563 2746bc9a7ef2
parent 8321 dc13f558856d
child 9286 4ccadbdbbd24
permissions -rwxr-xr-x
comments

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

HOST=$(hostname)

case ${HOST} in
  sunbroy30)
    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/.