Option to exclude in test-filters result string when exclude: "=> (*.BAK) || (*.TMP) || (*.~*)"

You can use a regular expression for things like that.

--exclude="[.*\.(bak|tmp)$]"

Does the job:

"Duplicati.CommandLine.exe" test-filters "c:\temp\test\\" --exclude="[.*\.(bak|tmp)$]"

Including source path: c:\temp\test\
Including folder: c:\temp\test\
Excluding path due to filter: c:\temp\test\hugo.bak => ([.*\.(bak|tmp)$])
Including file: c:\temp\test\hugto.baka (374 Bytes)
Including folder: c:\temp\test\x.bak\
Including file: c:\temp\test\x.bak\test (328 Bytes)
Matched 2 files (702 Bytes)

Files with .bak AT THE END are excluded but a directory .bak is included!