Hi, it's possible exclude sync of all subfolders of a given folder but not subfolders that starts with some character e.g. "i-"?
Example:
\AAA\abc
\AAA\i-bcd
\AAA\cde
\AAA\i-def
\AAA\text.txt
I would sync all files inside AAA, but just subfolders inside AAA that have "i-" prefix.
Thanks
Exclude all but
- Posts: 2
- Joined: 20 Oct 2021
-
- Posts: 4867
- Joined: 11 Jun 2019
Change the include filter from * to \AAA\i*\* and see if that gets what you want.
-
- Site Admin
- Posts: 7506
- Joined: 9 Dec 2007
- Posts: 2
- Joined: 20 Oct 2021
Thanks xCSxXenon, but in that way files inside AAA (as text.txt in example) will not be synced and moreover folders as BBB, CCC, ... siblings of AAA will not be updated.
Thanks Zenju, I saw that, but now I understand this...
For future reference:
I write (local exclude) \AAA\*\ excluding all subfolders of AAA (keeping files)
and write (local include) \AAA\i-* including subfolders of AAA with "i-" prefix.
......manual is a little bit concise on that explanation :) also because it's not easy understand what "two folder pairs" and "distinct local filters" are, imho.
THANKS
Thanks Zenju, I saw that, but now I understand this...
For future reference:
I write (local exclude) \AAA\*\ excluding all subfolders of AAA (keeping files)
and write (local include) \AAA\i-* including subfolders of AAA with "i-" prefix.
......manual is a little bit concise on that explanation :) also because it's not easy understand what "two folder pairs" and "distinct local filters" are, imho.
THANKS
-
- Posts: 4867
- Joined: 11 Jun 2019
Ah yes! I forgot that about the exclusion