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!);
wenzelm@8224
     1
#!/bin/bash
wenzelm@8224
     2
#
wenzelm@8224
     3
# $Id$
wenzelm@8224
     4
#
wenzelm@8224
     5
wenzelm@8322
     6
HOST=$(hostname)
wenzelm@8322
     7
wenzelm@8322
     8
case  ${HOST} in
wenzelm@8323
     9
  sunbroy79)
wenzelm@8323
    10
    #test
wenzelm@8323
    11
    DEST=/tmp/isabelle-dist
wenzelm@8323
    12
    mkdir -p $DEST
wenzelm@8323
    13
    ;;
wenzelm@8322
    14
  *.cl.cam.ac.uk)
wenzelm@8322
    15
    DEST=/anfs/www/html/Research/HVG/Isabelle/dist
wenzelm@8322
    16
    ;;
wenzelm@8224
    17
  *)
wenzelm@8322
    18
    echo "Unknown destination directory for ${HOST}"
wenzelm@8224
    19
    exit 2
wenzelm@8224
    20
    ;;
wenzelm@8224
    21
esac
wenzelm@8224
    22
wenzelm@8347
    23
rsync -va --delete rsync://www4.in.tum.de:8730/isabelle-dist/. $DEST/.