author | wenzelm |
Sun, 07 Jan 2001 21:36:59 +0100 | |
changeset 10818 | 37fa05a12459 |
parent 9286 | 4ccadbdbbd24 |
child 12721 | 226fc0e2e7e3 |
permissions | -rwxr-xr-x |
8222 | 1 |
#!/bin/bash |
2 |
# |
|
3 |
# $Id$ |
|
4 |
# |
|
5 |
||
8321 | 6 |
HOST=$(hostname) |
7 |
||
8 |
case ${HOST} in |
|
9286 | 9 |
sunbroy51) |
8222 | 10 |
DEST=/home/html/isabelle/html-data |
11 |
;; |
|
8225 | 12 |
*.cl.cam.ac.uk) |
13 |
USER=paulson |
|
14 |
DEST=/anfs/www/html/Research/HVG/Isabelle |
|
8222 | 15 |
;; |
16 |
*) |
|
8321 | 17 |
echo "Unknown destination directory for ${HOST}" |
8222 | 18 |
exit 2 |
19 |
;; |
|
20 |
esac |
|
21 |
||
22 |
rsync --rsh ssh --rsync-path /usr/local/dist/bin/rsync -va \ |
|
8225 | 23 |
$USER@sunbroy1.informatik.tu-muenchen.de:/usr/proj/isabelle-repository/www/. $DEST/. |