I now have the following up and running:
What I wanted to do:
-
I have a “todo” file in Logseq (it’s under 00-09 System in JD).
-
Instead of having a separate “todo” app for the phone - I wanted to share and sync only this file (TODOS.md) file with Android devices, so I can tick things off with the Logseq android app while on-the-go - and then sync it back to “the master”.
“Master device / main system (ON when used) - with Syncthing and Logseq”
.stignore of Send&Receive shared folder
!/TODOS.md
*
(Result: shares only this single file and ignores everything else in the share folder.)
“Always online server (always ON)” - with Syncthing
no .stignore for this folder
(this is just to ensure that some device is always “online” with the lastest version - regardless of whether it’s the Android devices or the master device that is being used on that particular .md file at the moment)
“Android device(s)” - with Syncthing and Logseq app
!/TODOS.md
*
(to avoid other stuff being synced back to “always online server” - it would not go back to the “master” anyway because master has it’s own .stignore )
(I will not be editing the same .md file on both devices simultaniously. I’m either “on the go” or using the “master device” - so sync conflict of this single file is a less likely edge-case)
So far, working as desired.