patrickdrd Posted February 21, 2023 Share Posted February 21, 2023 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 More sharing options...
Guest johnccleaner Posted February 21, 2023 Share Posted February 21, 2023 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 More sharing options...
patrickdrd Posted February 22, 2023 Author Share Posted February 22, 2023 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now