I second the use of Syncthing, as I mentioned in this thread. I’ve used it previously for syncing and backup of photos, plaintext accounting files like you mentioned, passwords, and most important for JD, my notes app. I use Joplin, which I talk about more in the linked thread above.