More simple way to exclude folders from exclude folders than using two rows with different filter sets?

Get help for specific problems
Posts: 2
Joined: 12 Aug 2026

robtek

Hello,

guess the topic is difficult to understand.

What do I want?:
- I want to exclude all subfolders except for a few subfolders from being compared and synched
- If possible with only one row and filter set

The manual says:
Example: Complex filter rules with exceptions
Complex filter requirements can often be solved by using two folder pairs with the same source and target paths but different local filters. The first folder pair handles the default case. The second folder pair the exception.
Exclude a subfolder except for *.txt files by using two folder pairs:
C:\Source <—> D:\Target local exclude filter: \SubFolder\
C:\Source <—> D:\Target local include filter: \SubFolder\*.txt
But this means more rows and different filters for each row.

It would be nice if that could be handled within one row and filter.
I tried to add the more specific subfolders to the include filter and the rootfolder to the exclude filter, but that does not work.

Maybe it would be possible to add priorities to filter entries? So as there are two filter entries the more specific is used? Or to add a exclusion to the exclusion, like using &! (and not) with | (or) statements:
\rootfolder\ &! subfolder1 | subfolder2 | subfolder3

Well last would be more of a feature request than a general help request, but maybe someone knows how to achieve my goal without using multiple rows and seperate filter rules per row...

EDIT:
I am synching one source to multiples destinations. Because of that using two rows with different filters is not practicable as I have to multiple rows and filters. It would be much more easier and comfortable using only one filter set for all rows (folder pairs)...

Thanks and kind regards

RobTeK
User avatar
Posts: 2995
Joined: 22 Aug 2012

Plerry

> I am synching one source to multiples destinations.

If you are syncing the same data to all of your multiple destinations, you can create
• a first sync that has two left-right base location pairs, e.g.
1st left-right pair C:\Source <=> D:\TargetD
with local Include filter * (= everything) and a local Exclude filter *\ (= all subfolders)
2nd left-right pair C:\Source <=> D:\TargetD
with a local Include filter comprising (only) the few subfolders you want to be synced and an empty local Exclude filter
• a seconds sync of D:\TargetD with your other multiple destinations, e.g.
1st left-right pair D:\TargetD <=> E:\TargetE
2nd left-right pair D:\TargetD <=> F:\TargetF
3rd left-right pair D:\TargetD <=> G:\TargetG
etc.
only using a global Include filter * (= everything) and an empty or default global Exclude filter; no local filter settings.
Because D:\TargetD only comprises the data per the "complex" filter rules of the first sync, there is no need for "complex" filtering for the other left-right pairs.

You can run that second sync manually after the first sync ends, or use the "Run a command" "On completion" option (in the Sync settings (F8) ) to automatically start that second sync after the first sync ends. (See the Command line manual page for the command to use)
Posts: 2
Joined: 12 Aug 2026

robtek

Hello Plerry,

thanks for your reply. I will check this out.

Of course it would be nicer to have more and granular control for the filter rules, so that my goal could be acomplished in only one job, but your solution seems to be better and cleaner than creating multiple rows with different filters in one job.

Thank you again and

Kind Regards

Robert

PS: School and english lessons were 25 years ago, so please excuse, if my english is not very well :-)