No sync found #904
Replies: 4 comments
|
ok, here's my updated sync, since massCode can't do it. Future versions of massCode needs this ability. 2 features I hope future versions add. `# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= massCode Vault Network Sync (Bidirectional, Newest-Wins)=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=VAULT_DEST="$HOME/massCode/markdown-vault/" if [[ -d "$HOME/massCode" ]]; then fi` |
|
This post is confused on several levels. massCode does not advertise a built-in cloud service. The documentation explicitly describes bring-your-own sync: put the Markdown Vault in iCloud, Dropbox, Google Drive, Syncthing, or Git. massCode watches that folder and picks up external changes. There is no missing sync button. Your script is not a reliable “bidirectional sync” implementation either. It is two Please read the documentation before declaring a feature missing, and do not present a fragile shell snippet as something massCode “needs.” Menu-bar or context-menu insertion is a separate feature request and should be opened separately with a clear use case. |
|
it's just an example of how I'm doing it, people that can understand it will. but, massCode needs a 2-way sync. |
|
“People who can understand it will” is not a technical response. I understood the script perfectly—that is why I pointed out its failure modes. Your follow-up then confirmed one of them: deleted files reappear and require additional cleanup and “master copy” scripts. That is not bidirectional sync. |
Uh oh!
There was an error while loading. Please reload this page.
I don't see any sync ability, even though it's mentioned.
I just installed, and was trying to set up.
I will have to make my own I guess...
But, it needs to be added.
Vault Sync Check
VAULT_DEST="$HOME/massCode/markdown-vault"
SERVER_VAULT="user@your-server:/path/to/server-vault/"
Verify the network share/mount is accessible (adjust the path to your actual mount point or server address)
if [[ -d "$HOME/mnt/home_cloud" || ping -c 1 -W 2 your-server &>/dev/null ]]; then
rsync -avz --timeout=5 --update --delete "$SERVER_VAULT" "$VAULT_DEST"
fi
All reactions