brename
brename copied to clipboard
no match on UTF-8 chars
Tried to rename some french files with UTF-8 chars in it (û
) and it seems it does not even match.
It works for me. Is your terminal UTF8?
$ ls
2022-août_alan.pdf
$ brename -il -p '^.*août.*$'
[INFO] main options:
[INFO] ignore case: true
[INFO] search pattern: (?i)^.*août.*$
[INFO] skip filters: ^\.
[INFO] include filters: .
[INFO] search paths: ./
[INFO]
2022-août_alan.pdf
it seems that yes
Edit: with a file created by me it's working as expected (i guess it's how you tested also)
So the point must be on how and where the file was created. will try to find an exemple file to reproduce
one thing i could think about it's that the file wasn't created by me but downloaded. maybe the encoding of the file name is not utf8 i must check with a file created by me