Jump to content

exclude all files, but only from root folder


patrickdrd

Recommended Posts

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

Link to comment
Share on other sites

Guest johnccleaner

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.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.