[CentOS] mirroring with lftp
John R Pierce
pierce at hogranch.com
Mon Jun 27 22:52:58 UTC 2011
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
More information about the CentOS
mailing list