How to configure Syncthing source code to change receiving and sending folders?
I don’t understand what you mean. Can you please elaborate? And describe your use case?
I need to configure SyncThing to handle file deletion/syncing so that I don’t have to revert local changes on both sides.
One way I’ve been considering is to automatically create the stignore on another device. How can I proceed?
Thank you for clarifying. I think this is essentially what you want to achieve: The destination skall be an unconditional copy of the source. Correct?
Syncthing cannot be configured to do what you want. Using some scripting and by calling the Syncthing API it might be possible, but itrequires a skill set which goes above and beyond just setting up Syncthing normally.
At any rate, I believe you would be better off using FreeFileSync, Unison musik or rsync.
(BTW: Syncthings “.ignore” has nothing to do with this. It’s purpose is to excempt some files and/or directories from sync.)
Thank you so much for your reply! Just one more question. Is it possible to know when a file has been synced to the destination folder? Is there a way to delete it in the source folder without affecting the destination folder?
I think you mean TWO questions. ![]()
I don’t think so.
Yes. See ignoreDelete — Syncthing documentation . But beware dragons! It’s use is discouraged. Your folder will PERMANENTLY be shown as out of sync.
I don’t think Syncthing fulfills your use case, @matthew543981 .
What’s the difference between syncthing and these programs?
Syncthing’s main purpose is to perform continuous two-way synchronisation between different devices over the network (both local and global).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.