For syncing files between my devices I’m using SyncThing. This tool is reliable, available on Linux, Android, Mac and iOS. And it encrypts the communication.
But sometimes I want to know when files in certain directories have changed - as example in my Obsidian vault. This allows me to post-process the files.