kalafut / py-imohash

Fast hashing for large files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brackets [ ] in file names not work

JechtShinryaku opened this issue · comments

I have several filenames that include [ ] and when I run imosum it doesn't give an error but it doesn't return anything either.

I do see an issue with the imosum function and shell expansion. What command are you running?

From linux I tried:

imosum filewith\[brackets\].txt

or

imosum filewith[brackets].txt

but it returns nothing

Thanks. I know what's going on but need to double check that the fix I'm thinking of doesn't break things in other ways.

Ok, thanks for your quick response

I pushed a new version that should address this. The issue was that imosum was globbing filenames, but they're already expanded by the shell so this was: a) unnecessary b) caused issues if special characters were present.

How fast, now it works perfectly with all my files.

Thank you very much for your work.