Skip to content

Why is the filter set not consistent with expectations? #228

Closed Answered by mhx
zzl221000 asked this question in Q&A
Discussion options

You must be logged in to vote

Glad you got it working!

it's still an issue with the path separator, which should consistently use "/" for dwarfs

Yeah, I agree this is not ideal on Windows; I'll consider changing this, but I need to think about whether or not this causes other issues.

One more thing: while your filter rules work, I'd probably have chosen a different set of rules:

-F '+ /2024-07*/'
-F '- /*/'
-F '+ *.log'
-F '- *'
  • The first rule includes only the top-level directories matching 2024-07*.
  • The second excludes all other top-level directories. This has the advantage that any files below these directories are not even processed any further. If you have a long list of directories, potentially on a network …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@zzl221000
Comment options

@mhx
Comment options

Answer selected by zzl221000
@zzl221000
Comment options

@mhx
Comment options

@mhx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants