I am using Unicorn for item serialization to my local file system. In this configuration I have a collection which contains a lot of items. These items don't have to be serialized to my file system, but the root folder should.
So I included the root folder, but how can I configure Unicorn to skip its child items?
<include database="master" path="/sitecore/content/mycollection" />
I would expect something like
<include database="master" path="/sitecore/content/mycollection" excludeChilds="true />
or
<include database="master" path="/sitecore/content/mycollection"><exclude "*" /></include>
It's not possible the way you're proposing, although it doesn't seems so hard looking at the code to implement it that way. But it might be useful to exclude the unnecessary items by template. This can be achieve by adding the following exclude tags inside the include tag.