bebehei / remdupes

fdupes on steroids
MIT License
2 stars 0 forks source link

Names with spaces do not work? #1

Closed bebehei closed 6 years ago

bebehei commented 6 years ago

Having a file in the tree:

tree/scores/von_hans/Noten MBB/On Broadway/Original/Original für Helga.txt
tree-dupes/scores/von_hans/Noten MBB/On Broadway/Original/Original für Helga.txt
tree-dupes2/scores/von_hans/Noten MBB/On Broadway/Original/Original für Helga.txt

and running

remdupes '^tree/' '^tree-dupes'

won't spit out the files from tree-dupes* as a duplicate. Albeit this file matches REGEX_KILL and REGEX_STAY and of course the md5sum matches. So fdupes should have reported it!

I suspect the spaces or umlauts a problem.

bebehei commented 6 years ago

Me stupid :man_facepalming:

The file was empty. I never checked this, as I always thought my colleague would never put empty files in the storage and by habit I executed fdupes with the option -n.