Problem with --filter-from

I have a problem with files that have a special character, for example: [ ]

Filter example:

+ dir1/subdir1/**
+ dirx/subdir x/[nametest] file.ext
- **

I believe he is using the file/folder name as if it were a Pattern, I would like to know how I can make it not use it as a pattern

This should work - escaping with \

+ dir1/subdir1/**
+ dirx/subdir x/\[nametest\] file.ext
- **

Thank you, I managed to solve it like this, I made a list of special characters and put '' before each

Putting a quote wouldn't fix it though as you have to escape it. Love to see what you did and some output.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.