Synchronize a directory over sftp

andy baxter andy at earthsong.free-online.co.uk
Tue Jan 8 10:45:02 UTC 2008


Smoot Carl-Mitchell wrote:
> On Mon, 2008-01-07 at 15:10 +0100, Lea Gris wrote:
>
>   
>> Rsync is done for that.
>>
>> rsync --times --delete-excluded --compress --recursive --progress ~
>> user at remotehost:/destination/directory
>>     
>
> Yep, rysnc is very handy and efficient for remote synchronization.
> However, the remote server may not let you use rsync.
>   
lftp is very useful for stuff like this. You can use it in a command 
line or prompt mode, and it has a 'mirror' command. it supports many 
different protocols including sftp.




More information about the ubuntu-users mailing list