Synchronize a directory over sftp

Smoot Carl-Mitchell smoot at tic.com
Mon Jan 7 16:23:48 UTC 2008


On Mon, 2008-01-07 at 17:00 +0100, Lea Gris wrote:

> If no rsync is available at the remote host you can do it old school:
> 
> tar --create --bzip2 --sparse --file - ~ | ssh user at remotehost "(cd
> /destination/directory tar --extract --bzip2 --file -)"

Yep, assuming SSH is enabled on the remote server for the user account.
-- 
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313




More information about the ubuntu-users mailing list