Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1979112
  • 博文数量: 593
  • 博客积分: 20034
  • 博客等级: 上将
  • 技术积分: 6779
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-06 14:07
文章分类

全部博文(593)

文章存档

2016年(1)

2011年(101)

2010年(80)

2009年(10)

2008年(102)

2007年(16)

2006年(283)

我的朋友

分类: LINUX

2010-08-13 00:13:29

#!/usr/local/bin/bash

RSYNC="/usr/local/bin/rsync"
OPTS="--quiet --recursive --links --perms --times --devices --delete --timeout=300"
#Uncomment the following line only if you have been granted access to rsync1.us.gentoo.org
#SRC="rsync://rsync1.us.gentoo.org/gentoo-portage"
#If you are waiting for access to our master mirror, select one of our mirrors to mirror from:
SRC="rsync://rsync1.us.gentoo.org/gentoo-portage"
DST="/mydata/gentoo-portage/"

echo "Started update at" `date` >> $0.log 2>&1
logger -t rsync "re-rsyncing the gentoo-portage tree"
${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1

echo "End:"`date` >> $0.log 2>&1

 

#mirrors.tds.net/gentoo
#lug.mtu.edu/distfiles
#gentoo.inode.at
#ftp.join.uni-muenster.de/gentoo
#ftp.rhnet.is/gentoo
#mirror.hamakor.org.il/gentoo
#ftp.snt.utwente.nl/gentoo
#gentoo.prz.rzeszow.pl/gentoo
#ftp.lug.ro/gentoo
#planetmirror.com/gentoo
 
 

rsync --quiet --recursive --links --perms --times --devices --delete --timeout=300 rsync://rsync1.us.gentoo.org/gentoo-portage /mydata/gentoo-portage/

阅读(790) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~