Admin/mirror-dist
author wenzelm
Mon Mar 06 15:44:51 2000 +0100 (2000-03-06)
changeset 8347 8927067ef107
parent 8346 562090b1f128
child 8396 16f6de8c897b
permissions -rwxr-xr-x
rsyncd setup;
--delete mode (beware!);
     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 -va --delete rsync://www4.in.tum.de:8730/isabelle-dist/. $DEST/.