version 1.11, 2011/03/31 03:21:39 |
version 1.12, 2011/12/08 02:07:49 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: MirrorOpenBSD,v 1.10 2010/05/19 22:18:02 andrew Exp $ |
# $RedRiver: MirrorOpenBSD,v 1.11 2011/03/31 02:21:39 andrew Exp $ |
|
|
. /etc/OpenBSDTorrents.conf |
. /etc/OpenBSDTorrents.conf |
|
|
|
|
#SERVER=rsync://mirror.rit.edu/OpenBSD/ |
#SERVER=rsync://mirror.rit.edu/OpenBSD/ |
#SERVER=rsync://filedump.se.rit.edu/OpenBSD/ |
#SERVER=rsync://filedump.se.rit.edu/OpenBSD/ |
#SERVER=rsync://mirror.planetunix.net/OpenBSD/ |
#SERVER=rsync://mirror.planetunix.net/OpenBSD/ |
|
#SERVER=rsync://mirror.team-cymru.org/OpenBSD/ |
|
|
# --dry-run \ |
# --dry-run \ |
rsync -a \ |
rsync -a \ |
|
|
-f "exclude */Changelogs/" \ |
-f "exclude */Changelogs/" \ |
-f "exclude /snapshots/packages/" \ |
-f "exclude /snapshots/packages/" \ |
-f "exclude /[23].?/" \ |
-f "exclude /[23].?/" \ |
-f "exclude /4.[0123456]/" \ |
-f "exclude /4.[012345678]/" \ |
-f "exclude /4.[79]/packages/" \ |
-f "exclude /4.[9]/packages/" \ |
|
-f "exclude /5.[1]/packages/" \ |
${SERVER} ${OBT_DIR_FTP}/${OBT_BASENAME} |
${SERVER} ${OBT_DIR_FTP}/${OBT_BASENAME} |
|
|