Filter and Exclude

Get help for specific problems
Posts: 1
Joined: 24 Mar 2014

zhx198747

I want to sync something like c:\root and d:\root, and I want to exclude exe files in c:\root\ folder but NOT exclude exe files in all the sub folders such as c:\root\sub\*.exe .
I tried exclude \*.exe ,but it didn't work. All exe files in sub folders was gone.
And I have tried \*.exe, *\*.exe and *.exe, but all of them woked the same way.
I have thought *\*.exe should be different,though not what I wanted.
So is there any solution for that?Or can there be any wildcard like "*" but not include "\"?
Thanks for help.And sorry for my English.

ps:FreeFileSync 6.3
User avatar
Site Admin
Posts: 7281
Joined: 9 Dec 2007

Zenju

You can use two folder pairs. The first one excludes the root folder, the second one includes only the root folder and also excludes `*.exe`. See help file chapter "Exclude Items" for more info.