Skip to content

Folder grouping proposal #2070

Closed

Description

@Getron

I have a scenario, where i sync folders from my customers to, not just my private folders, on my servers.

Now, i have a really mess on folders, all the folders are together, on one list on the left side, my private, and from all my customers.

The idea is to be able to add groups to (maybe, subgroups on groups to, if possible), on the left folder side, and easy to able to sort the sync folders, like three, or somthing in this direction.

Then, if i have, 50 customers, and sync data of all 50 customers, i be able to sort them up in groups. Maybe, with the easy, familiar, drag-n-drop function (if folders are already created). No more messy (just one list) with folders then.

Should be somthing like this (on the left folder side):

  • Swiss Machines
    • My PC nr.1
      • Documents
      • Music
      • Photos
    • My PC nr.2
      • Docus
      • Videos
    • Customer 1
      • Documents
      • Photos
    • Customer 2
      • Documents
      • Work files
  • Machines on other lands
    • Work PC nr1
      • Documents
      • Pics
    • Server 1
      • Backup1
    • Backup2

... and so on... hope, you understand the idea.

I think, this would help out to sort, and easy to find the folders in a lists.

What you think? Is this doable, and worth to have? I think, many people out there would apreciate to have somthing like this, to able to easy, and excelently sort the sync folder from many machines, server, or whatever.

Thanks in advance to devs, if this enhancement would be added to.

Activity

  1. added
    enhancement
    on Jul 19, 2015
  2. uok commented on Jul 19, 2015

    @uok
    Contributor

    Sounds like a helpful enhancement.

    My suggestion is to keep it to one level (to keep the GUI elements that can collapse/expand minimal and also because bootstrap framework adds some padding here and there), so in your case you would maybe have 3 groups (e.g. separating Swiss, yours, other countries). For further sorting you could use a simple folder prefix like "MyPC1_documents", etc. The "group label" itself could be done maybe with a text field in each folder edit dialog.

    When Syncthing reads the folder config it simply adds a collapsible element if a group label exists and then puts the folders inside. if all group label fields of all folders are empty everything looks like it does now

  3. wweich commented on Jul 19, 2015

    @wweich
    Contributor

    You need to prefix (or suffix) the folder ids anyway because they have to be unique (although e.g #966 could change that).

    So naming the folders e.g. Swiss_MyPC1_Documents and OtherLands_WorkPC1_Documents and so on will group them inside the plain list.

  4. Getron commented on Jul 19, 2015

    @Getron
    Author

    @uok Yes, GUI should be the same, expand and colapse the groups, subgroups or folders. It should be somthing like the Wordpress do with menu on admin side. If you known how wordpress works, you understand what i mean. Helpful functionality, and you can add the groups and subgroups how ever you want, and how many you need.

    @wweich Yes, all the system of syncthing should be the same, just grouping them, to be organized, and to able to find, or sort them properly. Or maybe, should be automaticaly naming the folders, for example, if you put the Documents folder on MyPC1 subgroup, and the MyPC1 is in the group Swiss, the name of synced folder (Folder ID) should done automaticaly, depending on what a group and subgroup the folder is, like:

    Swiss_MyPC1_Documents (Folder ID)

    I think, this would be help out the confusing the sync folders, if you have many machines and sync many folders, and somewhere, somehow, the folders have the same name, this system would maybe help out that the synced folder ID would be unique automaticaly, depending on the groups and subgroups.

    What you think? Is maybe this a good idea?

  5. uok commented on Jul 19, 2015

    @uok
    Contributor

    I have to admit that I'm not sure how many people will use this feature because according to the stats the average user has ~10 folders

    still, here is a quick mockup 😄
    (folder **#**1 is a regular, non-grouped folder above a set of grouped folders)

    collapsed
    group-collapsed
    and all expanded
    group-expanded
    if you like to fiddle with the fiddle: https://jsfiddle.net/h31cm4p3/1/
    HTML-wise this is ready to copy/paste into Syncthing, only some GO/angular-magic is required while reading the folder config to add the html tags at the correct position

  6. Getron commented on Jul 19, 2015

    @Getron
    Author

    @uok Yes, somthing like this would be great to.

    Unfortunatly, i can't do it myself. If i can, i would, but, i can't.

    I apreciate, if someone would add this, a great thing. And +- 10 folder for average user, with the new technology, you can just thinking, in one family, how many mobiles phone exist? and if any of these would syncing, the +-10 folder are quickly overnumbered, hehe. We have not count the synced Computer folders here, hehe... Just my family have, every person 5-10 folders to share. My brother, 5-10, father pc, mother pc, my sons pc, my wife pc, and so on... Trust me, many people would be apreciate to have this sorting to. If not now, in a year, or two...

  7. Getron commented on Aug 9, 2015

    @Getron
    Author

    Has anyone idea how to implement this?

  8. modified the milestone: on Jan 1, 2016
  9. lkwg82 commented on Mar 10, 2016

    @lkwg82
    Contributor

    Later on when folder can have labels (#2668) ... there could be an ui rule to interpret dots (or other chars) in labels as separators to introduce a visual hierarchy:

    • folderID A (Label: swiss#photos)
    • folderID B (Label: swiss#baby)
    • folderID C (Label: germany#bavaria)
    • folderID D (Label: germany#berlin)

    swiss

    • photos
    • baby

    germany

    • bavaria
    • berlin

    What about that?

  10. AudriusButkevicius commented on Mar 10, 2016

    @AudriusButkevicius
    Member

    Good idea

  11. Nejaa commented on Feb 9, 2017

    @Nejaa

    I'm also 100% needing this feature

  12. lkwg82 commented on Feb 11, 2017

    @lkwg82
    Contributor

    @Nejaa Take some time and propose a PR or a algorithm.

  13. 66 remaining items

  14. added 9 commits that reference this issue on Apr 6, 2026
    4cd54c0
    e091756
    669bd0c
    7734d12
    409137a
    e2ddd4e
    cf4c9da
    80476e7
    ecd1b3f
  15. added a commit that references this issue on Apr 7, 2026
    6a26d56
  16. added a commit that references this issue on Apr 7, 2026
    35a641f
  17. added 2 commits that reference this issue on Apr 22, 2026
    7b4a35d
    03a9b13
  18. added a commit that references this issue on Jun 28, 2026
    a4dadaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions