[CentOS-mirror] I create a mirror for CentOS 5.5
Mitry Matyushkov
ftp at mgts.bySat Nov 20 20:23:44 UTC 2010
- Previous message: [CentOS-mirror] I create a mirror for CentOS 5.5
- Next message: [CentOS-mirror] I create a mirror for CentOS 5.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On 11/20/2010 3:40 PM, Bangladeshi CentOS Mirror Maintainer
[BD-SERVERS.NET] wrote:
> Hi
>
> You can do it with rsync itself. Here is the script attach with this
> email (text attachment name CentOS-5-Only-Mirror.sh.txt ). I have to
> make it attachment, as it was breaking the line on my compose window.
>
> Anyway, You can just use rsync to update all the things..
I do believe that single rsync does the trick:
rsync -avzH --delete-delay \
-f '+_/5/' \
-f '+_/5.5/' \
-f '+_/timestamp.txt' \
-f '+_/TIME' \
-f '+_/RPM-GPG-KEY-CentOS-5' \
-f '-_/*' \
msync.centos.org::CentOS/ /var/www/mirror/centos/
Regards,
Mitry.
- Previous message: [CentOS-mirror] I create a mirror for CentOS 5.5
- Next message: [CentOS-mirror] I create a mirror for CentOS 5.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS-mirror mailing list