Page 1 of 1
SC sync: folder filter scope?
Posted: 14 Aug 2018 12:14
by Filehero
Hi,
with
Code: Select all
E:\Source\A
E:\Source\B
E:\Source\B\sub_1
E:\Source\B\sub_2
E:\Source\C
and
Code: Select all
sync "E:\Source\", "E:\Target", 7:="-E:\Source\B\sub_1\";
Why is there
E:\Target\B\sub_1\ after sync? Does the filter syntax only apply for first-order children?
Thanks,
Filehero
Re: SC sync: folder filter scope?
Posted: 15 Aug 2018 14:54
by Filehero
Hi Don,
is this by design?
FH
Re: SC sync: folder filter scope?
Posted: 16 Aug 2018 21:35
by Filehero
I think that‘s a bug. Hence I would like to ask a mod to move this topic to Bug Reports.
Thank you.
Re: SC sync: folder filter scope?
Posted: 17 Aug 2018 15:59
by admin
Yep, bug.

Quite a lot of work. But all will be good. Next beta...

Re: SC sync: folder filter scope?
Posted: 17 Aug 2018 18:29
by Filehero
Yippie! So I can enjoy my quarterly family-off evening with finishing my sync script suite.
Thanks for debugging and fixing!
Re: SC sync: folder filter scope?
Posted: 17 Aug 2018 21:27
by admin
Wow, thanks for the drinks!

Re: SC sync: folder filter scope?
Posted: 18 Aug 2018 10:24
by Filehero
There's still a little glitch.
If the filtered path contains sub folders (
sub_1-1), filtering is still partly off.
-> files get filtered
-> sub folders slip through
Code: Select all
E:\Source\A
E:\Source\B
E:\Source\B\sub_1\sub_1-1
E:\Source\B\sub_2
E:\Source\C
Code: Select all
sync "E:\Source\", "E:\Target", 7:="-E:\Source\B\sub_1\";
Re: SC sync: folder filter scope?
Posted: 18 Aug 2018 12:28
by admin
Indeed. Guess I'll fix it again...

Re: SC sync: folder filter scope?
Posted: 19 Aug 2018 19:57
by Filehero
Seems to be fixed now.
