It seems, the "Exclude all, include *.txt" kind of excluding doesn't work.
Currently it seems works this way:
- include *.txt is executed first, then excluded *.*, so result is NULL.
The correct excluding should be:
- exclude *.*, then include *.txt, so result is *.txt.
Exclude all, include *.txt
- Posts: 18
- Joined: 7 Jan 2001
- Posts: 23
- Joined: 18 Mar 2016
Including *.txt and excluding nothing is sufficient. You are excluding everything from the subset of all .txt files.
- Posts: 2451
- Joined: 22 Aug 2012
Apparently @webmaster33 does not clearly understand the include-and exclude-filters in FFS:
https://freefilesync.org/manual.php?topic=exclude-items
"Files and directories are only considered for synchronization if they pass all filter rules. They have to match at least one entry in the include list and none of the entries in the exclude list"
https://freefilesync.org/manual.php?topic=exclude-items
"Files and directories are only considered for synchronization if they pass all filter rules. They have to match at least one entry in the include list and none of the entries in the exclude list"