rsync
and scp
, but they have to be manually directed to attain a two-way sync, and finger trouble can cause loss of data.It keeps extra permanent metadata (.stfolder)on the disk of each host, which will have to be managed if files or directories are deleted or moved. I'm not wild about that feature, but maybe it's required for satisfactory performance.Adding files to the shared directory on either device will synchronize those files to the other side.
rsync(1) is exactly what I use at the moment, but the invocation, and safety checks, are manual, and the direction is one way. The solution I seek is automated, and two way (but with a guarantee to not destroy anything gratuitously).Syncthing is nice, but depending on your amount of data hashing will take quite some time. In my experience when the amount of data is big enough this isn't exactly the fastest tool due to the initial hashing time then. Rsync is another nice fit to do the job, for backup reasons also Rsnapshot which is Rsync + snapshots through file links. If both computers have ZFS, also ZFS send/receive might be good.