http://www.serverlab.ca/tutorials/linux/network-services/creating-a-yum-repository-server-for-red-hat-and-centos/

 

Valid link : rsync -avrt rsync://mirror.clarkson.edu/centos/ /var/www/html/CentOS/centos/ –exclude ‘2/’ –exclude ‘2.*/’ –exclude ‘3/’ –exclude ‘3.*/’ –exclude ‘4/’ –exclude ‘4.*/’ –exclude ‘5/’ –exclude ‘5.*/’ –exclude ‘6.5/isos/’ –exclude ‘6.5/os/i386/’

Advertisements