Admin/mirror-main
author quigley
Tue, 05 Apr 2005 16:32:47 +0200
changeset 15657 bd946fbc7c2b
parent 14229 bf89038cf551
child 16278 dda44b201c4d
permissions -rwxr-xr-x
Current version of res_atp.ML - causes an error when I run it. C.Q.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12721
226fc0e2e7e3 #!/usr/bin/env bash;
wenzelm
parents: 9286
diff changeset
     1
#!/usr/bin/env bash
8222
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
     2
#
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
     3
# $Id$
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
     4
#
13567
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
     5
# Mirrors the Isabelle home page (those directly on http://isabelle.in.tum.de)
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
     6
# It does *not* mirror the Isabelle distribution pages and downloads. There
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
     7
# is a separate utility (mirror-dist) for that.
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
     8
#
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
     9
# Usage: mirror-main
7f5bf04095bd comments + usage
kleing
parents: 13100
diff changeset
    10
#
8222
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    11
8321
wenzelm
parents: 8225
diff changeset
    12
HOST=$(hostname)
wenzelm
parents: 8225
diff changeset
    13
wenzelm
parents: 8225
diff changeset
    14
case ${HOST} in
14229
bf89038cf551 Munich webserver is now atbroy1
berghofe
parents: 13567
diff changeset
    15
  atbroy1)
8222
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    16
    DEST=/home/html/isabelle/html-data
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    17
    ;;
8225
fc5db20d7f6f Cambridge-specific modifications
paulson
parents: 8222
diff changeset
    18
  *.cl.cam.ac.uk)
fc5db20d7f6f Cambridge-specific modifications
paulson
parents: 8222
diff changeset
    19
    USER=paulson
fc5db20d7f6f Cambridge-specific modifications
paulson
parents: 8222
diff changeset
    20
    DEST=/anfs/www/html/Research/HVG/Isabelle
8222
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    21
    ;;
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    22
  *)
8321
wenzelm
parents: 8225
diff changeset
    23
    echo "Unknown destination directory for ${HOST}"
8222
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    24
    exit 2
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    25
    ;;
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    26
esac
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    27
55fed562d8ed mirror main page;
wenzelm
parents:
diff changeset
    28
rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \
13100
ff00791319e2 physical location of isabelle repository is now sunbroy2
kleing
parents: 12721
diff changeset
    29
  $USER@sunbroy2.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/.