Addition of 'Similar Name' option Find Duplicate Files' a

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Addition of 'Similar Name' option Find Duplicate Files' a

Post by *yosi_tz »

Hello Total Commander Team and users

There is a feature I miss so much in Total Commander:
In 'Search Files'--'Advanced'—'Find Duplicate Files' a 'Similar Name' option is missing' and that’s the whole story.
For example:
If In a1 dir there are:
B1.jpg
B2.jpg
And In a2 dir there are:
B1.jpg
B2-1.jpg
a-B2.jpg
Attention: all files are in different sizes but, as you see, in exact or similar file names

When 'Similar Name', which I suggest to add, is marked: In the search result, I would like to get:
B1.jpg
B1.jpg

B2.jpg
B2-1.jpg
a-B2.jpg

Of course When 'Same Name' is marked: In the search result I will get:
B1.jpg
B1.jpg

A question can arise: how similar or what minimal similarity do you like ?
Well, I can think of 2 possibilities:
-1- a default of 1 character at least – the minimal solution for rapid implementation
-2- an option to the user to set the similarity, by setting the number of consecutive same characters in the tested files

When you manage, many graphic files' you often make processes that change there sizes, contents and make a minor change to their names.
Without adding the 'Similar Name' option, I suggested above, I can not get the groups of original an processed files.

Hope you consider my suggestion and add it very soon

Thanks a lot
Yosi shatz
Registered User
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Check this.
Single user license #329241
PowerPro scripts for Total Commander
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Post by *yosi_tz »

thank you Vochomurka
I don't know how to use this plugin.
there are 7 properties (distanceLev,...), 6 operators and a value field.
In the above example I gave, what parameters and values should I use to get the correct result ?
thanks for your answer
yosi
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

As far as you are not consider same contents, isn't Find files with a mask or RegEx enough?
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Post by *yosi_tz »

ts4242,
I intend to get the files list within the 'Find Duplicate Files' patern, which is more convenient
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

1) Copy leven.ini to %COMMANDER_PATH%;
2) Create custom columns like this:

Code: Select all

Headers21=Distance\nSimilarity\nAverage\nContains\ns#1\ns#2\ns#3
Contents21=[=similarity.distanceLev]\n[=similarity.similarityLev]\n[=similarity.average]\n[=similarity.contains]\n[=similarity.simil1]\n[=similarity.simil2]\n[=similarity.similRO]
(in fact, only "Similarity" and "Average" are useful);
3) Enter your string as a value of the "Phrase" key in leven.ini (or make a button calling Similarity.exe with the ? parameter);
4) Ctrl+B in your path;
5) Sort by "Similarity" and/or "Average";
6) File(s) with maximum number SHOULD BE your aim.
Single user license #329241
PowerPro scripts for Total Commander
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Post by *yosi_tz »

I appreciate you for your detail answer,
I did what you said but it does not seem to fulfill my request.
Why ?
Because in the regular search result I get the files list along with their path, but when I switch to Similarity columns the path lists are gone and I get only the files list which is invaluable to me.
I think that my suggestion of adding a 'Similar Files' to 'Find Duplicate Files' is much more elegant and convenient

Thanks
Yosi
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

I think that my suggestion of adding a 'Similar Files' to 'Find Duplicate Files' is much more elegant and convenient
May be, but Mr Ghisler will hardly do that. We have to use means available right now.
Don't use search, just columns. If you can't live without search, try to "Feed to listbox", and then switch to the "Similarity" custom columns.
Single user license #329241
PowerPro scripts for Total Commander
yosi_tz
Junior Member
Junior Member
Posts: 20
Joined: 2007-08-06, 09:35 UTC

Post by *yosi_tz »

Sorry, I did again what you said and I still have no idea how, by using 'Similarity' custom columns I can find the similar or exact files in various directories.
By now I have no solution I can successfully use

Thank you
Yosi
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Not "similar or exact files", but "files with similar or exact names", as you have written in your starting post (more strictly: "files whose names are similar or exactly the same", right?).
In such case I can't help you. I've used this plugin once or twice, and it has helped me in resembling cases. I'm afraid it's the only way.
Single user license #329241
PowerPro scripts for Total Commander
Post Reply