Filter rule issues

Version: v0.14.47, Windows (64 bit)

There are abc folder, there are subdirectories below 1,2,3,4,5…100

I just want to sync the abc/2 directory

How should such filtering rules be written?

I have tried before

!abc/2
*

But this is not useful

abc/1
abc/2
...
abc/100
!abc
*

This is valid but write too many filter rules

Either wait for v0.14.49, where your first try will be working, or now:

!/abc
!/abc/2
*
3 Likes

Thank you But I do not know why this did not succeed

!/abc
!/abc/2
*

but I use the following method is useful

!/projects/project1
/projects/
!/projects
*

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