Page 1 of 1

Find dupes by base name

Posted: 12 Jun 2017 18:08
by bdeshi
Don, can you add a new "base name" option to the find files | dupes | name dropdown?
This will consider items with <same base name>+<config | templates | increment affix> to be duplicates. Eg

Code: Select all

Dejavu.ttf
Dejavu-0001.ttf
Dejavu-0002.ttf
Alternatively, how do I group items named like this? Configuration > Styles > Grid style > Highlighted Groups (Smart Names) does not help. It seems to group greedily.

Re: Find dupes by base name

Posted: 13 Jun 2017 08:38
by admin
"Highlighted Groups (Smart Names)" seems to work for such a case.

Re: Find dupes by base name

Posted: 13 Jun 2017 21:36
by bdeshi
Ah, but it breaks down when I have more items with just slight variations.
smartgrid.png
Apparently according to my quick tests, anything with the same 4 starting chars are clumped into one group. If so, can it be better to apply a smarter algorithm that finds similar segments by splitting the name on space, dashes, periods etc? [edit: Although in this case that will still place too many items in one group.]

Re: Find dupes by base name

Posted: 15 Jun 2017 12:15
by admin
Hmm, I don't get it. Your screenshot looks alright to me.

Re: Find dupes by base name

Posted: 15 Jun 2017 17:44
by bdeshi
It looks alright because the option I've wished for does not exist.
find files pane | dupes pane | name dropdown | base name should group the items this way:

Code: Select all

DejaVu Sans.ttf
DejaVu Sans-0001.ttf
DejaVu Sans-0002.ttf
DejaVu Sans-0003.ttf
-----
DejaVu Sans Bold.ttf
DejaVu Sans Bold-0001.ttf
DejaVu Sans Bold-0002.ttf
-----
DejaVu Sans Bold Oblique.ttf
DejaVu Sans Bold Oblique-0001.ttf
DejaVu Sans Bold Oblique-0002.ttf
-----
DejaVu Sans Oblique.ttf
DejaVu Sans Oblique-0001.ttf
DejaVu Sans Oblique-0002.ttf
-----

Re: Find dupes by base name

Posted: 22 Jun 2017 09:52
by admin
OK, I see. I think this is too difficult.