Admin/mirror-main
author wenzelm
Mon, 05 Aug 2002 12:00:51 +0200
changeset 13447 3470596f3cd5
parent 13100 ff00791319e2
child 13567 7f5bf04095bd
permissions -rwxr-xr-x
updated;

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