Admin/mirror-dist
author wenzelm
Wed Mar 01 16:40:14 2000 +0100 (2000-03-01)
changeset 8323 64b67ed25a59
parent 8322 6ba8356baa34
child 8346 562090b1f128
permissions -rwxr-xr-x
test setup;
     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     USER=paulson
    16     DEST=/anfs/www/html/Research/HVG/Isabelle/dist
    17     ;;
    18   *)
    19     echo "Unknown destination directory for ${HOST}"
    20     exit 2
    21     ;;
    22 esac
    23 
    24 rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
    25   $USER@sunbroy30.informatik.tu-muenchen.de:/home/html/isabelle/html-data/dist/. $DEST/.