В Срд, 01/08/2007 в 10:58 +0200, Jan Tiggy пишет:
> 1. Create a rsync cronjob. Something like that:
> 
> I'm using a user rights to do so.
> 
> 40 4 * * * rsync -tvrl --exclude=rpm/ppc/ --exclude=rpm/src/
> --exclude=rpm/x86_64/ --delete ftp.gwdg.de::pub/suse/update/10.2/
> /srv/ftp/repos/10.2/update/     #repo: update
> 2. Then create a createrepo cronjob. Something like this:
> 
> 5 5 * * * createrepo /srv/ftp/repos/10.2/update/     #createrepo

First of all, thanks for answers :) 

I have added to your command some --exclude options to have only i586
and noarch dirs because it is only arch of computers used. But I have
some questions how to optimize download:
1. is it necessary to download all *.info *.delta.rpm *patch.rpm files,
are any advantages using them?
2. in repo there are several versions of the same program, is it
possible to download only the latest version?

Kirill Kirillov.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to