head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2001.12.17.16.56.10;	author curt;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.19.00.30.15;	author curt;	state Exp;
branches;
next	1.1;

1.1
date	2000.12.15.20.34.50;	author curt;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Updates to reflect recent admin/server organizational changes.
@
text
@#!/bin/sh

FQDN=`hostname -f`

if [ "x$FQDN" != "xhelio.me.umn.edu" ]; then
    echo "$0 must be run on a helio.me.umn.edu"
    exit
fi

SOURCE=~/ftp_simgear/*

# Master simgear ftp
DEST=curt@@baron.flightgear.org:/fgfs03/ftp/pub/simgear/

# Backup simgear ftp
DEST=curt@@seneca.flightgear.org:/fgfs01/ftp/pub/simgear/

# mirror to MEnet
DEST=curt@@crunch.me.umn.edu:ftp_simgear

# mirror to ftp.hfrl.umn.edu
DEST=curt@@ftp.hfrl.umn.edu:/home/ftp/pub/simgear/

for DEST in \
    curt@@baron.flightgear.org:/fgfs03/ftp/pub/simgear/ \
    curt@@seneca.flightgear.org:/fgfs01/ftp/pub/simgear/ \
    curt@@crunch.me.umn.edu:ftp_simgear \
    curt@@ftp.hfrl.umn.edu:/home/ftp/pub/simgear/ ; \
    do
    
    echo mirroring from $SOURCE to $DEST

    rsync --verbose --archive --delete \
        --rsh ssh -v \
        $SOURCE $DEST 2>&1
done


@


1.2
log
@Updated.
@
text
@d3 1
a3 1
DOMAIN=`hostname -d`
d5 2
a6 2
if [ "x$DOMAIN" != "xhfrl.umn.edu" ]; then
    echo "$0 must be run on an hfrl.umn.edu computer"
d12 2
a13 3
# -------------------------------------------------
# mirror to /stage/fgfs01/ftp/pub/simgear
# -------------------------------------------------
d15 2
a16 7
DEST=curt@@cub.hfrl.umn.edu:/stage/fgfs01/ftp/pub/simgear/

echo mirroring from $SOURCE to $DEST

rsync --verbose --archive --delete \
        --rsh ssh -v \
        $SOURCE $DEST 2>&1
d18 2
a20 1
# -------------------------------------------------
a21 2
# -------------------------------------------------

d24 8
a31 1
echo mirroring from $SOURCE to $DEST
d33 1
a33 1
rsync --verbose --archive --delete \
d36 1
a38 36
# -------------------------------------------------
# mirror to MEnet
# -------------------------------------------------

DEST=curt@@crunch.me.umn.edu:ftp_simgear

echo mirroring from $SOURCE to $DEST

rsync --verbose --archive --delete \
	--rsh ssh \
	$SOURCE $DEST 2>&1


# -------------------------------------------------
# mirror to SourceForge
# -------------------------------------------------

DEST=curt@@shell.sourceforge.net:/home/groups/ftp/pub/simgear/

echo mirroring from $SOURCE to $DEST

rsync --verbose --archive --delete \
        --rsh ssh \
        $SOURCE $DEST 2>&1

# -------------------------------------------------
# mirror to ftp.terragear.org
# -------------------------------------------------

# DEST=simgear.org:ftp_simgear

# echo mirroring from $SOURCE to $DEST

# rsync --verbose --archive --delete \
# 	--rsh ssh \
# 	$SOURCE $DEST 2>&1
@


1.1
log
@Initial revision.
@
text
@d13 26
d42 1
a42 1
DEST=curt@@kenai.me.umn.edu:ftp_simgear
d52 1
a52 1
# mirror to ftp.terragear.org
d55 1
a55 1
DEST=simgear.org:ftp_simgear
d60 14
a73 2
	--rsh ssh \
	$SOURCE $DEST 2>&1
@

