Quote:
Originally Posted by Terisa de morgan
I'm afraid it's not a weird Spanish character
The file is:
Code:
Diaz, Lena -[The Nursery Rhyme-2]- Simon Says Die.epub.annot
If the name is:
it doesn't fail and it removes the file.
If the name is:
it doesn't fail but it doesn't remove the file.
|
No, not a weird Spanish character. But, if you are going to use an invalid regex for the name, you can expect problems.
I reused the code for cleaning the image directory. It uses "glob" to get the list of files. I had forgotten that it uses linux style name matching and hence "[]" had meaning.