Hi, I tried to find the answer to this but couldnt!.
So, is there an option where the file is deleted from the soucre A, once it is synced successfully to Souce B?
Hi, I tried to find the answer to this but couldnt!.
So, is there an option where the file is deleted from the soucre A, once it is synced successfully to Souce B?
I’m nearly 100% sure that there isn’t any way for Syncthing to do that on its own.
What I would do in your shoes is create a Send Only share on the source side, Receive Only on the far side, with a script wrapper to check Syncthing’s sync status for that folder, and then deletes the files in the source directory.
Test carefully!
Thanks for your reply. As of now, thats what I am doing that from the souce, I am keeping it send only. Just FYI, both the source and destination are Android. I am not sure how to use the scrip wrapper
There is no such option. You could enable File Versioning on the receiving side. Then, if you delete files on Device 1, they will be moved to the versions folder on Device 2. You can move them to a different folder later on if you wish.
There is no way to automatically delete files after sync within Syncthing though, if that is what you’re after. Unless you write a custom script, as suggested above.
I have no experience scripting on Android. Sorry. But a quick Google leads me to think that it’s possible and not incredibly hard.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.