gme
4
I’m using Nextcloud to sync my notes with my server. I have a specific folder “.joplinNotes” for storing my notes. You could sync to same server but different folders, and use a tool called “Unison” on the server to sync the folder of a specific notebook. But the problem is, you don’t have different folders for each notebook. All notes are in the same folder and they have .md extension. Actually, Notebooks are also synced as md files in the same folder.
What you would need - in order to solve this on your server - is to find the id(name) of the notebook you want to share. Let’s say it’s “cbb69b3b6df74cd7b5d0a20390bd4f71”.
Then you would need to use either magic or a script that scans all md files and detect the ones with “parent_id: cbb69b3b6df74cd7b5d0a20390bd4f71” in them. Then sync(rsync) these files with the ones in the sync directory of the other person.
But I would still not recommend this since this can cause some issues if this job collides with Joplin’s synchronization process.