Hi <div><br></div><div>You can do it with rsync itself. Here is the script attach with this email (text attachment name <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">CentOS-5-Only-Mirror.sh.txt</span> ). I have to make it attachment, as it was breaking the line on my compose window. </div>
<div><br></div><div>Anyway, You can just use rsync to update all the things. </div><div><br></div><div>Cheers. </div><div><br></div><div>Ahamed Bauani</div><div><a href="http://blog.bauani.org/">http://blog.bauani.org/</a></div>
<div><br></div><div><div><div><br></div></div><div class="gmail_quote">On Sat, Nov 20, 2010 at 7:06 PM, Brivaldo Junior <span dir="ltr"><<a href="mailto:condector@gmail.com">condector@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Humm,<div><br></div><div>I understand... here is my script (with some modifications):</div><div><div><br></div><div>#!/bin/bash</div>
<div>rsync -avzH --delete msync.centos.org::CentOS/5 /var/www/mirror/centos/</div><div>rsync -avzH --delete msync.centos.org::CentOS/5.5 /var/www/mirror/centos/</div>
<div><br></div><div>cd /var/www/mirror/centos/</div><div>rm -f timestamp.txt*</div><div>rm -f TIME*</div><div>rm -f RPM-GPG-KEY-CentOS-5*</div><div>wget <a href="http://mirrors.bd-servers.net/centos/timestamp.txt" target="_blank">http://mirrors.bd-servers.net/centos/timestamp.txt</a></div>

<div>wget <a href="http://mirrors.bd-servers.net/centos/TIME" target="_blank">http://mirrors.bd-servers.net/centos/TIME</a></div><div>wget <a href="http://mirrors.bd-servers.net/centos/RPM-GPG-KEY-CentOS-5" target="_blank">http://mirrors.bd-servers.net/centos/RPM-GPG-KEY-CentOS-5</a></div>

</div><div><br><br></div><div>regards,</div><div>Brivaldo Jr</div><div><br></div><div><br><div class="gmail_quote">2010/11/20 Bangladeshi CentOS Mirror Maintainer [<a href="http://BD-SERVERS.NET" target="_blank">BD-SERVERS.NET</a>] <span dir="ltr"><<a href="mailto:centos-org@bauani.org" target="_blank">centos-org@bauani.org</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi <div><br></div><div>Looks nice. But it seems you are using 'Wget' or something to update the special files / folder. </div>

<div><br></div><div>Normally when 'wget' download any file and file with same name exist on target directory, it will add incremental value after the file it just downloaded.  </div>
<div><br></div><div>Just add any command to remove old file before downloading new file, not renaming. At your mirror: </div><div><br></div><div><a href="http://centos.ufms.br/TIME.1" target="_blank">http://centos.ufms.br/TIME.1</a></div>


<div><a href="http://centos.ufms.br/TIME.2" target="_blank">http://centos.ufms.br/TIME.2</a></div><div><a href="http://centos.ufms.br/TIME.3" target="_blank">http://centos.ufms.br/TIME.3</a></div><div><br></div><div>and </div>

<div><br></div><div><a href="http://centos.ufms.br/timestamp.txt.1" target="_blank">http://centos.ufms.br/timestamp.txt.1</a></div>
<div><a href="http://centos.ufms.br/timestamp.txt.2" target="_blank">http://centos.ufms.br/timestamp.txt.2</a></div><div><a href="http://centos.ufms.br/timestamp.txt.3" target="_blank">http://centos.ufms.br/timestamp.txt.3</a></div>

<div><br></div><div>and</div>
<div><br></div><div><a href="http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.1" target="_blank">http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.1</a></div><div><a href="http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.2" target="_blank">http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.2</a></div>


<div><a href="http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.3" target="_blank">http://centos.ufms.br/RPM-GPG-KEY-CentOS-5.3</a></div><div><br></div><div>Is totally unnecessary file and carry no value at all!</div><div><br></div>

<div>On your Sync Scrip, add a command to remove the file and download the new fresh file, the script check mirror status from CentOS will find your mirror 'Fresh'. </div>
<div><br></div><div>If you share us the script / command for sync the mirror, it will help us to give you final solution to be a good mirror. </div><div><br></div><div>I hope you understand my word. </div><div><br></div>

<div>
Kindly</div><div><br></div><div>Ahamed Bauani  </div><div><a href="http://blog.bauani.org/" target="_blank">http://blog.bauani.org/</a><div><div></div><div><br><br><div class="gmail_quote">On Sat, Nov 20, 2010 at 2:48 AM, Brivaldo Junior <span dir="ltr"><<a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Updating:<div><br><br>Initial Sync - OK (5.5)<br></div>Host: <a href="http://mirror.pop-ms.rnp.br/centos/" target="_blank">http://</a><a href="http://centos.ufms.br/" target="_blank">centos.ufms.br/</a><div>


<br>City: Campo Grande<br>State: Mato Grosso do Sul<br>
Country: Brazil<br>Bandwith: 155Mb (full and upgrading to 3Gb) <br>
Name of Organization: Federal University of Mato Grosso do Sul 
(Brazilian Portuguese: Universidade Federal de Mato Grosso do Sul)<br></div>Contact: <a href="mailto:brivaldo.junior@ufms.br" target="_blank">brivaldo.junior@ufms.br</a> (my personal contact: <a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a>)<br>




Update Frequency: 4x Daily<br>Add support for special files<br>Increment link to 5.<br><br><br>Now It's okay right?<br><br><br>Regards,<br>Brivaldo Jr<br><br><br><div class="gmail_quote">2010/11/18 Ralph Angenendt <span dir="ltr"><<a href="mailto:ralph.angenendt@gmail.com" target="_blank">ralph.angenendt@gmail.com</a>></span><div>


<div></div><div><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Am 17.11.10 01:38, schrieb Brivaldo Junior:<br>
<div>> Okay, Let´s go!<br>
><br>
> Initial Sync - OK (5.5)<br>
> Host: <a href="http://mirror.pop-ms.rnp.br/centos/" target="_blank">http://mirror.pop-ms.rnp.br/centos/</a><br>
> City: Campo Grande<br>
> State: Mato Grosso do Sul<br>
> Country: Brazil<br>
> Bandwith: 155Mb (full and upgrading to 3Gb)<br>
> Name of Organization: Federal University of Mato Grosso do Sul<br>
> (Brazilian Portuguese: Universidade Federal de Mato Grosso do Sul)<br>
</div>> Contact: <a href="mailto:brivaldo.junior@ufms.br" target="_blank">brivaldo.junior@ufms.br</a> <mailto:<a href="mailto:brivaldo.junior@ufms.br" target="_blank">brivaldo.junior@ufms.br</a>> (my<br>
> personal contact: <a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a> <mailto:<a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a>>)<br>
<div>> Update Frequency: Daily<br>
><br>
> Need another info?<br>
<br>
</div>As said: You are missing a few files. Then: Having 5.5/ is not enough,<br>
there needs to be at least a 5/ which can just link to 5.5 - but without<br>
that the mirror won't work.<br>
<br>
And: Please try to update more frequently, because otherwise your mirror<br>
might be flagged as outdated, depending on when our checking script<br>
comes around. Running rsync twice or three times daily doesn't really<br>
generate that much more traffic.<br>
<br>
Regards,<br>
<br>
Ralph<br>
<div><br>
><br>
> Thanks!<br>
> Brivaldo Jr<br>
><br>
><br>
> Please alert the CentOS-mirror mailing list if anything about the server<br>
> changes like location, available bandwidth, frequency of updates, etc.<br>
><br>
</div>> 2010/11/16 Nyamul Hassan <<a href="mailto:nyamul@gmail.com" target="_blank">nyamul@gmail.com</a> <mailto:<a href="mailto:nyamul@gmail.com" target="_blank">nyamul@gmail.com</a>>><br>
<div>><br>
>     On Wed, Nov 17, 2010 at 02:06, Brivaldo Junior <<a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a><br>
</div><div>>     <mailto:<a href="mailto:condector@gmail.com" target="_blank">condector@gmail.com</a>>> wrote:<br>
><br>
>         How can I insert into mirror list?<br>
><br>
>         Other thing... Only latest CentOS are mirrored.<br>
><br>
><br>
>         Regards,<br>
>         --<br>
>         Brivaldo A. S. Junior<br>
><br>
><br>
>     Did you read:<br>
>     <a href="http://www.centos.org/modules/tinycontent/index.php?id=22" target="_blank">http://www.centos.org/modules/tinycontent/index.php?id=22</a><br>
><br>
>     <<a href="http://www.centos.org/modules/tinycontent/index.php?id=22" target="_blank">http://www.centos.org/modules/tinycontent/index.php?id=22</a>>That<br>
>     tells you what info you need to provide to the CentOS Master Mirror<br>
>     Admins on this list to get listed.<br>
><br>
>     Regards<br>
>     HASSAN<br>
><br>
><br>
>     _______________________________________________<br>
>     CentOS-mirror mailing list<br>
</div>>     <a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a> <mailto:<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a>><br>
<div><div></div><div>>     <a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Brivaldo A. S. Junior<br>
> Analista de Tecnologia da Informação<br>
> Divisão de Redes    -        NIN/UFMS<br>
><br>
><br>
><br>
> _______________________________________________<br>
> CentOS-mirror mailing list<br>
> <a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
<br>
_______________________________________________<br>
CentOS-mirror mailing list<br>
<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><br>-- <br><font color="#888888">Brivaldo Junior<br><img height="96" width="96"><br><br>
</font><br>_______________________________________________<br>
CentOS-mirror mailing list<br>
<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Regards & Besh Wishes<br><br>Noor Ahamed Bauani<br>Chief Technology Advisor<br>Dhaka Wireless<br><a href="http://www.dhaka-wireless.net/" target="_blank">http://www.dhaka-wireless.net/</a><br>


An IPv6 Ready ISP in Bangladesh, Need an IPv6 Connectivity? Just Knock us!<br>HP: +880-1818-BAUANI (SMS Only, No Direct Call Please)<br>-----------------------------------------------------------------------------------------------------------------<br>


Give Me Sunshine, Give Me Some Rain, Give Me a Chance to Grow up Again<br>
</div></div>
<br>_______________________________________________<br>
CentOS-mirror mailing list<br>
<a href="mailto:CentOS-mirror@centos.org" target="_blank">CentOS-mirror@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-mirror" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
<br></blockquote></div></div></div><br><br clear="all"><br>-- <br>Brivaldo Junior<br><img height="96" width="96"><br><br>
</div>
<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" target="_blank">http://lists.centos.org/mailman/listinfo/centos-mirror</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards & Besh Wishes<br><br>Noor Ahamed Bauani<br>Chief Technology Advisor<br>Dhaka Wireless<br><a href="http://www.dhaka-wireless.net/" target="_blank">http://www.dhaka-wireless.net/</a><br>
An IPv6 Ready ISP in Bangladesh, Need an IPv6 Connectivity? Just Knock us!<br>HP: +880-1818-BAUANI (SMS Only, No Direct Call Please)<br>-----------------------------------------------------------------------------------------------------------------<br>
Give Me Sunshine, Give Me Some Rain, Give Me a Chance to Grow up Again<br>
</div>