Franck Martin wrote:
>
> use rsync to maintain an update. Rsync is fast(compression) and smart. Just
> add it in a cron job. Check www.rpmfind.net on how to do a mirror.
>
> use:
> rsync -az rpmfind.net::linux/mandrake-cooker/ mydirectoryonmymachine
OK, but DON'T use compression (the z). The servers specifically ask
that you do not because of their CPU load, and because RPMs are
already compressed anyway.
IMO, a better set of options for use from a script is:
rsync -avP$1 --delete --stats \
rpmfind.net::linux/mandrake-cooker/ \
/local/downloads/cooker/
The $1 is so you can call the script with an n parameter, which will
preview the rsync run, but not actually do anything. This can be
important to see and verify when deletes are involved.
--
Regards,
Ron. [AU] - sent by Mandrake Linux.
To write a poem in 17 syllables is very diffic