
I'm researching ways to synchronise my files between my phone and two linux PC's and I've noticed how fiddly moving and renaming files with Syncthing is.
This makes me wonder (hypothetically): in what program should file synchronisation be implemented to work well and handle file moves and renames natively? My first instinct says "file manager", because that's what I use to move and rename files - it would make sense to have matching and connected file managers on all devices so that they repeat the same action everywhe.
Then again, the file manager rarely creates or modifies files. It wouldn't know it should re - sync a file edited by a text editor. So maybe it should be done at a filesystem level? It knows about all the file changes.
Or maybe it's just very hard to solve at any level of the stack? From my layman's point of view it seems like computers should be good at "do the same thing but somewhere else", but I guess there's a reason this is not solved yet?