Admin/mirror-main
author paulson
Tue, 09 Jul 2002 23:03:21 +0200
changeset 13327 be7105a066d3
parent 13100 ff00791319e2
child 13567 7f5bf04095bd
permissions -rwxr-xr-x
converted List to new-style

#!/usr/bin/env 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@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.