Hi Dan,

you're looking for something like

 rsync -ave ssh [email protected]:/path/at/remote/ /path/local
>/path/to/log/rsync.log

Where
* a = archive mode
* v = verbose (for logging purposes)
* e = specify how

The man is here: http://linux.die.net/man/1/rsync

mj/v

On Mon, Apr 13, 2015 at 4:52 AM, Dan Egli <[email protected]> wrote:

> Hey folks, here's a quick one. I'm trying to create an automated transfer
> that will use rsync to duplicate a file tree onto another computer. I've
> heard that rsync can use ssh to do this, but I'm not sure how I'd
> accomplish it. As it stands now, my idea was to mount the remote server via
> sshfs and then call rsync as if it was a local transfer. That would
> probably work, but it seems like a kludge. Does anyone have any experience
> with pushing files to a remote host over an ssh connection with rsync? If
> so, I'd love to know how.
>
>
>
> Thanks!
> --- Dan
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to