Admin/mirror-dist
author kleing
Mon Mar 06 15:24:07 2000 +0100 (2000-03-06)
changeset 8346 562090b1f128
parent 8323 64b67ed25a59
child 8347 8927067ef107
permissions -rwxr-xr-x
switched to mirroring with rsync server
     1 #!/bin/bash
     2 #
     3 # $Id$
     4 #
     5 
     6 HOST=$(hostname)
     7 
     8 case  ${HOST} in
     9   sunbroy79)
    10     #test
    11     DEST=/tmp/isabelle-dist
    12     mkdir -p $DEST
    13     ;;
    14   *.cl.cam.ac.uk)
    15     DEST=/anfs/www/html/Research/HVG/Isabelle/dist
    16     ;;
    17   *)
    18     echo "Unknown destination directory for ${HOST}"
    19     exit 2
    20     ;;
    21 esac
    22 
    23 rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
    24   rsync://sunbroy30.informatik.tu-muenchen.de:8730/isabelle-dist/. $DEST/.