Re: Rsync to a ftp folder.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bill Lindley
Date:  
To: plug-discuss
Subject: Re: Rsync to a ftp folder.
Sanjay Darisi wrote:
> Can I rsync to a ftp folder?


If you have shell access (on one line):

     rsync -buavrz -e ssh
        user@ftp.yoursite.com
        /home/yourname/localwebdir/
        /home/users/ftpuserdir/remotewebdir


Note the first directory is on the local computer, with a trailing
slash; the second directory is on the remote computer, given as you
describe it when logged into that computer, *without* a trailing
slash... (otherwise it will put everything into
...remotewebdir/localwebdir/ ...weird but that's how it works)

Read the rsync manpage and move one file at a time as an experiment.

\\/

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss