[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync-ing ftp directories ? [Resend]



On March  8, 2001 09:31 am, Andrei Verovski wrote:
> Hi,
>
> Anyone can suggest how I can make scheduled sync ftp directories with
> rsync and cron? Everytime I am trying to do it i've got stupid message
> "module name must be defined".
>
>
> Thanks in advance for suggestions.
>
>
> Andrei


If you have ssh access try this:

#!/bin/sh
#change to desired ftp dir
cd /myftp/dir
rsync -avz -e ssh mymirrorsip#:"/my/other/ftp/dir/" .

Note the trailing dot. No other rsync setup is required.

Neil



Reply to: