author | wenzelm |
Mon, 06 Mar 2000 21:08:36 +0100 | |
changeset 8349 | 611342539639 |
parent 8321 | dc13f558856d |
child 9286 | 4ccadbdbbd24 |
permissions | -rwxr-xr-x |
8222 | 1 |
#!/bin/bash |
2 |
# |
|
3 |
# $Id$ |
|
4 |
# |
|
5 |
||
8321 | 6 |
HOST=$(hostname) |
7 |
||
8 |
case ${HOST} in |
|
8222 | 9 |
sunbroy30) |
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/. |