Re: mirroring with lftp

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



On 06/27/11 3:46 PM, Ross Walker wrote:
> does someone have a script for maintaining a repo with lftp they'd like
> >  to share?   what I saw on the wiki wasn't very helpful.


hmm.  this seems to be working.

   cd /path/to/local/mirror
   lftp -c 'open ftp://mirrors.kernel.org/pub/ && mirror -c -x ia64 -x 
s390 -x s390x -x alpha -x SRPMS centos'

[using ftp instead of http, and using -x instead of -X (exclude instead 
of exclude-globs)]


-- 
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