I'd suggest that you use rsync(1) for this kind of mirroring. It has the features you request and works with uni-kl.de. Moreover, it is *probably* more efficient than http and *probably* not as buggy as wget. A quick look at its man-page and a small number of experiments will soon get you up and running. BR /Ch José M. Fandiño wrote:
hello,
I'm using a internal mirror machine for updates and wget is used by scripts to download all the packages, however it isn't deleting the old versions of those packages.
with this line I get all the updates:
wget --proxy=on -R"*=*" -P /mirrors -nH --no-parent --mirror \ http://ftp.uni-kl.de/pub/linux/suse/i386/update/9.1/rpm/src
but, I finish with the old packages in addition to the new one.
suse:/mirrors/pub/linux/suse/i386/update/9.1/rpm/src # ls -1 kernel-source*rpm kernel-source-2.6.5-7.104.src.rpm kernel-source-2.6.5-7.108.src.rpm kernel-source-2.6.5-7.111.19.src.rpm kernel-source-2.6.5-7.111.30.src.rpm kernel-source-2.6.5-7.111.5.src.rpm kernel-source-2.6.5-7.111.src.rpm kernel-source-2.6.5-7.145.src.rpm kernel-source-2.6.5-7.147.src.rpm kernel-source-2.6.5-7.151.src.rpm kernel-source-2.6.5-7.75.src.rpm kernel-source-2.6.5-7.95.src.rpm
is it possible to do a _real_mirror_ with wget? am I missing something?
Thank you.