Re: Local mirroring of the CentOS repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Ross S. W. Walker wrote on Wed, 10 Oct 2007 14:47:07 -0400:

> Yes a lot of past versions are kept in the repo, but if you filter
> those out then it wouldn't be a "mirror" then?

Well, I'm just interested in the latest bits ;-)

> 
> Be careful with the "repomd.xml" file, delete it before starting to
> mirror to make sure it doesn't get out-of-sync, because, at least on
> my end, I find that wget via http doesn't compare time stamps just
> sizes/names and the sha1 checksums are always the same length.

Thanks for alerting me on this, I will take a close look, although I'm using FTP
and it doesn't seem to happen there.

> wget -nH --cache=off --cut-dirs=4 -m -c -R gif,png,^index.html* -I
^/centos/$VERSION/updates/i386/ -P /Software/CentOS/$VERSION/updates/i386
http://mirror.centos.org/centos/$VERSION/updates/i386/

I'm using FTP. When I started with HTTP wget immediately stopped with the 
robots.txt as this hadn't changed between retrievals. I'm using a very simple
command line:
wget --mirror ftp://....

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux