Re: Doing a Centos mirror only via http

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



On 10/13/12 6:07 AM, Nux! wrote:
>> >Many thanks Nux, reposync is the tool ... but, is it possible to
>> >download metada too with reposync to avoid to use createrepo
>> >command??
> Use lftp, not reposync.

yeah, thats what I use.  my cron job looks like...

     lftp -c 'open ftp://mirrors.kernel.org && lcd /export/mirror && 
mirror --continue --verbose=1 -x ia64 -x s390 -x s390x -x alpha -x SRPMS 
centos'

that gets all releases, but not s390 or alpna or itanium.  add -x 5\* to 
lose the 5.x stuff.

oh, it appears I'm using ftp not http... I believe thats because I got 
inconsistent results with http when I switched source repos


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
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