Admin/mirror-main
author nipkow
Wed Aug 04 11:25:08 2004 +0200 (2004-08-04)
changeset 15106 e8cef6993701
parent 14229 bf89038cf551
child 16278 dda44b201c4d
permissions -rwxr-xr-x
aded comment
     1 #!/usr/bin/env bash
     2 #
     3 # $Id$
     4 #
     5 # Mirrors the Isabelle home page (those directly on http://isabelle.in.tum.de)
     6 # It does *not* mirror the Isabelle distribution pages and downloads. There
     7 # is a separate utility (mirror-dist) for that.
     8 #
     9 # Usage: mirror-main
    10 #
    11 
    12 HOST=$(hostname)
    13 
    14 case ${HOST} in
    15   atbroy1)
    16     DEST=/home/html/isabelle/html-data
    17     ;;
    18   *.cl.cam.ac.uk)
    19     USER=paulson
    20     DEST=/anfs/www/html/Research/HVG/Isabelle
    21     ;;
    22   *)
    23     echo "Unknown destination directory for ${HOST}"
    24     exit 2
    25     ;;
    26 esac
    27 
    28 rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
    29   $USER@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.