> How could this be solved correctly? Rules with a trailing / must only apply to directories but to know about this, you need to call stat().
I agree and don't see another way than modifying the regular expressions.
I've opened a separate bug to handle this isse and commited a fix: Regular expressions defined in default configuration can be improved (LP #1097465). The default RegExs as of now read:
> How could this be solved correctly? Rules with a trailing / must only apply to directories but to know about this, you need to call stat().
I agree and don't see another way than modifying the regular expressions.
I've opened a separate bug to handle this isse and commited a fix: Regular expressions defined in default configuration can be improved (LP #1097465). The default RegExs as of now read:
+ self._regex_ excludes = "^/home/ [^/]+?/ \.gvfs( /|$),"\ [^/]+?/ \.thumbnails( /|$),"\ [^/]+?/ \..+/[tT] rash(/| $),"\ [^/]+?/ \.cache( /|$),"\ [^/]+?/ \..+/[cC] ache(/| $),"\ [^/]+?/ \..+/lock( /|$),"\
"~$ "
+ "^/home/
+ "^/home/
+ "^/home/
+ "^/home/
+ "^/home/
Using this expressions and the fix pushed for this bug (LP #980786) should remove all remaining unwanted warnings and errors from your log.
regards,
jean-peer