best way to sync local copy of directory

droki droki at riseup.net
Sat Jan 17 06:26:29 UTC 2015


Hi,

Is there an easy way to replicate a tahoe-lafs directory locally without
downloading it every time a file is added or changed?

'tahoe cp -r tahoe:files/ ~/local/files/' gets all the data, but it
downloads the whole directory even if most of it already exists locally.

I'm tempted to use rsync with sshfs and tahoe's SFTP frontend, but this
ticket makes me think it's a bad idea:
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2280

Is there a good way to do this?
(Bonus if I can delete files that aren't in tahoe:files/ anymore, like
rsync --delete)

Also related:

https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1952

Thanks.

-droki



More information about the tahoe-dev mailing list