Ah! Thanks Karnbir. I will make the necessary changes to my script. Also now it explains why all those symlinks existed.<br><br><div><span class="gmail_quote">On 1/6/06, <b class="gmail_sendername">Karanbir Singh</b> <
<a href="mailto:mail-lists@karan.org">mail-lists@karan.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Vijay Avarachen wrote:
<br>> Stephen,<br>> Actually I didn't have to do any of that...it was matter of<br>> simply changing the rsync root. Here is my script:<br>><br>> #!/bin/sh<br>> EXCLUSION="/etc/rsync-exclude.list
"<br>> RSYNC_HOST="<a href="http://rsync.planetmirror.com">rsync.planetmirror.com</a> <<a href="http://rsync.planetmirror.com">http://rsync.planetmirror.com</a>>"<br>> RSYNC_ROOT="centos/4.2/"
<br>> DESTINATION="/home/ftp/pub/Linux/CentOS/4.2/"<br>> /usr/bin/rsync -aqzH --exclude-from=$EXCLUSION --delete<br>> $RSYNC_HOST::$RSYNC_ROOT $DESTINATION<br>> /bin/chown -R vijay.avarachen:spduslisadmins
$DESTINATION<br><br>The point that Stephen was trying to make is : with your rsync_root set<br>to centos/4.2/ - when the next update is released, you will end up with<br>a blank mirror.<br><br>by setting it to centos/4/ you stay with the most recently released pkgs.
<br><br><br>--<br>Karanbir Singh : <a href="http://www.karan.org/">http://www.karan.org/</a> : 2522219@icq<br>_______________________________________________<br>CentOS-mirror mailing list<br><a href="mailto:CentOS-mirror@centos.org">
CentOS-mirror@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos-mirror">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br></blockquote></div><br><br clear="all"><br>-- <br>"Knowledge is the only wealth that grows as you spend it, and diminishes as you save it."
<br>-- ancient Sanskrit saying