exclude all files, but only from root folder

hello,

I'm looking for a way to exclude files from a folder, but only from that folder, not subfolders:

e.g. something like:

Exclude1=FILE|C:\Extensions\*\_locales\|*.*|0|0|24

but this excludes everything, it doesn't delete C:\Extensions\*\_locales\test\test1.txt for example,

can it be done?

also what's the "|0|0|24" in the end? could these flags help?

thanks

I don't believe the "|0|0|24" string is actually used by the software. :) It seems to be appended to any exclude rules for files/paths I make regardless of settings, and removing them doesn't seem to have any impact.

In any event, what you describe is the intended behavior (excluding subfolders as well), as indicated in Example 4 here: https://support.piriform.com/hc/en-us/articles/360047948532

as this would be the most common use-case.

I'll let the development team know about your interest in a 'non-recursive' exclude, though, so that can be considered further. At this time, though, I'm not aware of any way that the software can be configured as you ask. (Even adding Include rules for the subfolders wouldn't work, as Exclude rules take priority over Include rules.)

I had the same problem with freefilesync software/utility,

but I found the solution here:

https://freefilesync.org/forum/viewtopic.php?t=8331&hilit=exclude+files+only+on+root+folder#p34969

(I included \Folder1\*\ as noted there, which excluded the base folder files)

maybe you could do something similar I guess