# syncing only selected subdirectories under a directory

**URL:** https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378
**Category:** Support
**Created:** [November 26, 2022, 5:35pm UTC](https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378 "2022-11-26T17:35:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![benibilme](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/b/e5b9ba/32.png) [@benibilme](https://forum.syncthing.net/u/benibilme)
#### Post date: [November 26, 2022, 5:35pm UTC](https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378/1 "2022-11-26T17:35:20Z")

</div>

Hello,

I have using syncthing more than a year, possibly for two years, it is just amazing piece of software. Thank you to all who is behind this software.

I have a small problem. I use some open source software and they keep their configuration `~/.config` and data in `~/.local/share`. I would like sync some selected a couple of directories under `~/.local/share` amogst several machines, and ignore the rest. I do not want to make a mistake, since there are quite few directories that I do not want to sync.

I know that I can add multiple sync folders each directory, I just want to know if there is more elegant way to do it?

How can I do that?

Any directions is much appreciated.

Thank you again.

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [November 26, 2022, 6:05pm UTC](https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378/2 "2022-11-26T18:05:09Z")

</div>

[https://docs.syncthing.net/users/ignoring.html?highlight=ignores](https://docs.syncthing.net/users/ignoring.html?highlight=ignores)

---

<div class="post-metadata">

### Author: ![martinleben](https://forum.syncthing.net/user_avatar/forum.syncthing.net/martinleben/32/9049_2.png) [@martinleben](https://forum.syncthing.net/u/martinleben)
#### Post date: [November 26, 2022, 11:04pm UTC](https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378/3 "2022-11-26T23:04:43Z")

</div>

What @AudriusButkevicius wrote.

Plus: Don’t count on getting it right the first time, so I recommend you first experiment with a small temporary folder.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [December 26, 2022, 11:04pm UTC](https://forum.syncthing.net/t/syncing-only-selected-subdirectories-under-a-directory/19378/4 "2022-12-26T23:04:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
