#!/bin/bash
#
# Copyright (c) 2008-2009 rPath, Inc.
#
# This program is distributed under the terms of the Common Public License,
# version 1.0. A copy of this license should have been distributed with this
# source file in a file called LICENSE. If it is not present, the license
# is always available at http://www.rpath.com/permanent/licenses/CPL-1.0.
#
# This program is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of merchantability
# or fitness for a particular purpose. See the Common Public License for
# full details.
#

SOURCE=rsync://rsync.scientificlinux.org/scientific/
DEST=/l/scientific/

date
rsync -arv --progress --bwlimit=600 --exclude iso --exclude 3* --exclude 4* --exclude RHAPS* --exclude livecd --exclude mirrorlist --exclude obsolete --exclude virtual-images $SOURCE $DEST

./hardlink.py $DEST

#!/bin/bash -ex
#
# Copyright (c) 2008 rPath, Inc.
#
# This program is distributed under the terms of the Common Public License,
# version 1.0. A copy of this license should have been distributed with this
# source file in a file called LICENSE. If it is not present, the license
# is always available at http://www.rpath.com/permanent/licenses/CPL-1.0.
#
# This program is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of merchantability
# or fitness for a particular purpose. See the Common Public License for
# full details.
#

SOURCE=rsync://rsync.scientificlinux.org/scientific/
DEST=/l/scientific/

date
rsync -lErtO \
    --verbose \
    --bwlimit=700 \
    --exclude "*.drpm" \
    --exclude "iso" \
    --exclude "livecd" \
    --exclude "mirrorlist" \
    --exclude "obsolete" \
    --exclude "RHAPS*" \
    --exclude "sites" \
    --exclude "virtual?images" \
    $SOURCE $DEST "$@"

./hardlink.py -v 0 $DEST

Fix up scientific mirror script
Fix up scientific mirror script
