Allow to duplicate an existing Folder config on client

One of the most annoying part of using the Syncthing client, is when I mess my own config, or something changed, and I need to do it over from scratch.

It’s typically not possible to edit the Folder Label, ID or Path. I understand editing those might affect things under the wheel and that’s why it’s blocked, but from a UX perspective, it’s very annoying because there is no other way to fix the issue than deleting and redoing it all.

It’s very very very annoying when you have to do that on a mobile phone typically. Because copy/pasting is a struggle (no snippet history), having to redo everything (with the risk of messing up) is not great.

Why not allowing us to duplicate a Folder config?

This way, we could duplicate an existing config, and while configuring it, fix these pesty issues without having to do it from scratch. That’d efficiently solve the main issue, and doesn’t feel too complicated either.

Maybe give us the ability to remove the source Folder upon creation (to avoid issues with 2 folders configured maybe too similarly) would help with edge cases.

Example: I changed my Android phone, using GrapheneOS now, and I imported my Syncthing config, which is utterly broken because the path is not `emulated/0/` but `emulated/11/` for some reason, and thus I need to remove them all and recreate them all (Folders).

Syncthing is great overall and works well. This has been the most annoying thing since day 1, for me.

A lot of the things you seem to want to change is indeed blocked by GUI, but possible to change in the advanced config (within the GUI).

2 Likes

just make sure you move .stignore (file) and .stfolder (folder) around accordingly.

1 Like

Awesome, thanks! To use this feature (I had to look around a bit)

1 Like

I see what you meant by that.

My issue is that my phone broke and I’ve replaced it with another.

I did manage to modify the Folder Path on the device, but I cannot import/move .stignore and .stfolder as I’ve lost these.

So, renaming the Folder Path just shows an error `folder marker missing`.

I’ve read the doc at FAQ — Syncthing documentation

Creating a `.stfolder` folder on my Android device in the Folders and rescanning from the Syncthing GUI fixed it. (now, it displays “Out of sync”, related to Option to disable the "override" button on a Folder (when out of sync) - #3 by Vadorequest, but that’s another matter)

Thank you!

It is possible that a file cleaning software has removed the .stfolder. Some software removes empty folders, and the .stfolder is often empty. This happens particularly often on Android. To remediate, recreate the .stfolder and add a dummy file in it, or add an exception to your cleaning software.

1 Like