On 22 Aug 2023 14:33 -0400, from cele...@gmail.com (Celejar): >> Git tends to be very rsync-friendly. > > I do something similar - I use syncthing to automatically keep the git > repositories on two of my machines in sync. rsync may be better, but > syncthing has more or less worked for me.
I'm not really familiar with syncthing, but it looks like it and rsync solve somewhat different problems; rsync being primarily intended to update one location (the destination) to match another (the source), whereas syncthing is primarily intended to update both locations such that they match (but can be run in one-way mode if desired). Therefore syncthing would seem to be more analogous to unison than to rsync. I know of rsync's shortcomings in the bidirectional-sync use case because I looked for a good while for a way to get it to do that safely, before coming across unison which being designed for that solved that problem with for all intents and purposes no fuss at all. -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”