SMBSync2 icon indicating copy to clipboard operation
SMBSync2 copied to clipboard

Exclude filter doc question/update

Open clach04 opened this issue 3 years ago • 1 comments

section 2.2.1 in https://sentaroh.github.io/Documents/SMBSync2/SMBSync2_Desc_EN.htm#_Toc70733638

Filter

Please input such as DSC *.JPG. Please do not enter the directory selection filters with regular expressions.

mentions wild cards.

I found through experimentation that wild cards do not work for directory names when using directory slashes /. For example, this does NOT work/exclude

*/cache/*

but the below does:

*cache*

Is this expected?

As per https://github.com/Sentaroh/SMBSync2/issues/256 I'm happy to help out with a PR.

clach04 avatar Nov 21 '22 20:11 clach04

what does:

Please do not enter the directory selection filters with regular expressions.

Mean? Does this mean under the covers some regex conversion takes place?

clach04 avatar Nov 21 '22 20:11 clach04