rsync

ajay sysadmin at tivimtech.com
Wed Apr 27 03:39:58 UTC 2005


can u tell me  syntax of ".hostrc" what for "-DD" do.
do i need gateway on m/c i run it or it will run through proxy also?
thanks a lot.

rgds

ajay


On Tue, Apr 26, 2005 at 09:28:35AM +0530, ajay wrote:
> can i sync my ftp server to my local folder?
> i am using this command for this but not working
> rsync -avz macmillan-tivimtech at tivimtech.com:21 /home/ajay/tivim/

As far as I know, rsync will not speak ftp protocol.

Look into the ncftp package; one of the programs is ncftpget.  I use
ncftpput to do a one-way sync between a local directory tree and an
ftp server, like so:

$ ncftpput -R -f /home/dave/.hostrc -DD /home/dave/mainwebsite_html
/home/dave/tmp/websource/*

This copies the contents of /home/dave/tmp/websource to my ftp server
and drops it in /home/dave/mainwebsite_html.

Check your man page; you may be able to use ncftpget the same way.
----- Original Message -----
From: David Mackintosh <David.Mackintosh at xdroop.com>
To: Getting started with Red Hat Linux <redhat-install-list at redhat.com>
Sent: Tuesday, April 26, 2005 5:57 PM
Subject: Re: rsync


> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe




More information about the Redhat-install-list mailing list