wd and cc

— Happy every day

为Archlinux做镜像

Posted at — Dec 14, 2005
MIRROR_PATH=/data/archlinux
rsync -avz rsync.archlinux.org::current $MIRROR_PATH/current/
rsync -avz rsync.archlinux.org::extra $MIRROR_PATH/extra/
rsync -avz rsync.archlinux.org::ftp/testing $MIRROR_PATH/testing/
rsync -avz rsync.archlinux.org::ftp/unstable $MIRROR_PATH/unstable/

#LOCAL_PATH=/data/archlinux
#rsync -avz download.ourlinux.net::archlinux-current $LOCAL_PATH/current
#rsync -avz download.ourlinux.net::archlinux-extra $LOCAL_PATH/extra
#rsync -avz download.ourlinux.net::archlinux-unstable $LOCAL_PATH/unstable
#rsync -avz download.ourlinux.net::archlinux-testing $LOCAL_PATH/testing
#rsync -avz download.ourlinux.net::archlinux-alcle $LOCAL_PATH/alcle
comments powered by Disqus