SSH / SFTP from one machine to another

NoOp glgxg at sbcglobal.net
Thu Jan 22 03:37:22 UTC 2009


On 01/21/2009 07:22 AM, Brian McKee wrote:
> 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
>>
>> 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
> 
> Brian
> 

That works nicely; however it would be nicer if it showed the progress.
For example if from Nautilus I use 'Connect to Server' using ssh I can
actually monitor the progress & determine approximately how long the
remainder of the transfer will be. I've not been able to do that with
rsync.





More information about the ubuntu-users mailing list