[WBEL-users] problem with rsync script

Anth Courtney Anth Courtney <anthcourtney@gmail.com>
Wed, 17 Nov 2004 00:05:18 +1100


Michiel,

> Is there an other way to sync my updates folder with that from an mirror
>  with ftp or something like that?
> Does anyone have such a script?

If you put into your script something like the following

wget -r -N -nH -nd -P /export/rpms/whitebox/3.0/en/updates/
ftp://whitebox.wicks.co.nz/pub/linux/dist/whitebox/3.0/en/updates/

then that will do the trick.

You will however, wnat to replace
/export/rpms/whitebox/3.0/en/updates/ with your local path. i.e
/var/www/html/<whatever>

cheers,
Anth