Include Directories Mask on Subfolders

Advertisement

JIC
Guest

Include Directories Mask on Subfolders

Hi,

I am trying to set a mask with the GUI for certain sub-directories to be included only but I can't figure it out and I feel like I've tried everything. Here is my file structure

-W:
---documents
-----agendas

In the "Include Directories" box I've tried the following:
W:/documents/agendas/
/documents/agendas/
/agendas/
*/agendas/

I've tried many other combinations with no avail.
The only thing that works is if I just put documents/ in there with no sub-folder.

Is it possible to get this to work? I can get sub-directories to work in the exclude folder but I'd much rather be able to select the ones I want.

Thanks!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Include Directories Mask on Subfolders

You didn't explain us, what your goal is. Why do set the include mask? Do you have some exclude mask, that you want to override for that specific folder? What is that mask? Give us more information!

Reply with quote

JIC
Guest

Basically I have many folders for different years under the agendas.
So it goes:
-W:
---documents
-----agendas
-------committee1
---------agendas2010
---------minutes2010
---------agendas2011
---------minutes2011
---------agendas2012
---------minutes2012
---------agendas2013
---------minutes2013
---------agendas2014
---------minutes2014
-------committee2
---------agendas2010
---------minutes2010
---------agendas2011
---------minutes2011
---------agendas2012
---------minutes2012
---------agendas2013
---------minutes2013
---------agendas2014
---------minutes2014

Except there are many more committees and years. I want to monitor only years 2016 and 2017. Right not that only way I have it working is by using a wildcard in the excludes for each year. Like so:
*/documents/agendas/*/*2014/
*/documents/agendas/*/*2015/
etc.

Is it possible to just say include only without excluding every other folder:
*/documents/agendas/*/*2016/
*/documents/agendas/*/*2017/

When I tried this it didn't work. I assumed when I put the paths in the folder inclusions it would only scan those folders. Is this correct or am I thinking of it wrong? Otherwise I need tons of exclusions for every folder I have. Or do I exclude all folders and then put those 2 lines in the inclusions?

Hopefully that clears up what I'm trying to accomplish. I'm just trying to simplify this for less exclusions/inclusions because I have many other folders within the drive I have to worry about.

Thanks!

Reply with quote

martin
Site Admin
martin avatar

That's possible, but you have to explicitly include all the parent folders too (starting from the root of the synchronization, which we do not know what it is).

Like */documents/;*/documents/agendas/;*/documents/agendas/*/

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum