SSH / SFTP from one machine to another
brian.mckee at gmail.com
Wed Jan 21 15:22:08 UTC 2009
On Wed, Jan 21, 2009 at 9:34 AM, Pete Clapham <peteclapham at sbcglobal.net> wrote:
> Pete Clapham wrote:
> Hi, all --
> Can anybody tell me the syntax by which I would SFTP (or FTP) a complete
> file hierarchy from one Ubuntu machine to another?
> Thanks to all who responded. SCP is exactly what I wanted.
If your use case is large or repeated, you might want to also consider
rsync over ssh - it resumes downloads, and only transfers what's
changed rather than copying all of it everytime. The man page is a
bit intimidating, but the tool is awesome.
e.g. rsync -avz /path/to/folder username at remotepc:/destination/
Just a thought
More information about the ubuntu-users