Synchronize a directory over sftp
Johan Sandberg
sampan at dkss.org
Tue Jan 8 09:53:11 UTC 2008
Lea Gris skrev:
> Johan Sandberg a écrit :
>
>> Hi all,
>> I am trying to find a way to automatically (or manually) synchronize my
>> home directory to a sftp server. I have tried Unison, but it seems that
>> Unison can't handle sftp. Is there anyone out there that can help me
>> out? It does not have to have a nice GUI. A simple cli or shell script
>> would be equally handy (or handier).
>> BR
>> /Johan
>>
>>
>
> Rsync is done for that.
>
> rsync --times --delete-excluded --compress --recursive --progress ~
> user at remotehost:/destination/directory
Thanks! This was exactly what I was looking for. It works like a charm!
BR
/Johan
More information about the ubuntu-users
mailing list