On Wednesday 29 August 2001 10:07, [EMAIL PROTECTED] wrote:
> I'd like to try rsync to replace my wget -m... could someone give me the
> command line?
>
> I tried the cooker page's one to ftp.sunet.se but it doesn't give me
> anyhing other than the files list.

Hi
If you have your cooker directory in /home/XXX/mandrake/cooker then you could 
use this command:
"rsync -av --delete ftp.sunet.se::Mandrake-devel/cooker/i586/ 
/home/XXX/mandrake/cooker/"

Observe the trailing /, which tells the program to copy everything in that 
directory.

As you are to start using rsync on a wget mirror, you have better add the 
option " --size-only".

If your connection is bad and you feel that sometimes the transfer is 
interrupted, then it is wise to keep the partially transfered files by adding 
the option "--partial".

So you might start with:
"rsync -av --delete --size-only --partial 
ftp.sunet.se::Mandrake-devel/cooker/i586/ /home/XXX/mandrake/cooker/"

I always use my browser to check where on the server the desired directory is.

Good luck.
guran

Reply via email to