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