Page 1 of 2

Is Filename Comparison Possible ?

Posted: 2003 Dec 03, 05:20
by Starsurfer
Hi.

Is there any way to do a comparison of files in panes on filenames only?
excluding, content etc..the other stuff.
-like mark the items that have Identical filenames.
what about size ?
A request Nikos .....It would be very helpful.
like for eg. with music files..

---
Also,(not so much a need, but a question ) -One cannot do a sync
with date & contet ata the same time. right?

Thanks

_______________
Starsurfer.

Posted: 2003 Dec 03, 09:11
by nikos
i was thinking about a name-only comparison, it's in the list
wrt comparing both content and dates, what would be the point?

Posted: 2003 Dec 03, 09:26
by narayan
Can x2 detect files with same contents, but different names?
(OR, based on checksum, where again the filenames are different, but both files have the same contents)

Posted: 2003 Dec 03, 10:15
by nikos
checksum can be only used for identity checking, not for differences (everything is generally different to everything else)

the easiest way to compare checksums is to have the column on, and place it first in one pane. Then using the sync scrolling Ctrl+M, if there's a matching item in the other pane it will be hilighted.

Keep in mind that files may have same checksum but completely different content

Posted: 2003 Dec 03, 13:15
by narayan
Does that trick extend to any column that is placed first in the order?

In other words, can we look for matching entries for anything
(by enabling that column and placing it on extreme left in the folder pane, using ALT+K) ?

Posted: 2003 Dec 03, 13:48
by nikos
that is correct
also note the easiest way to rearrange columns is header drag-drop

Posted: 2003 Dec 03, 14:12
by fgagnon
In the current vernacular: kewl :!:

:D

Posted: 2003 Dec 04, 03:44
by narayan
WOW! If that's possible, then why not have that in CTRL+F9 also? I mean apart from name and contents, provide a freewheeling choice: compare pane contents based on a selected column (provide a pull-down menu of all columns in the CTRL+F9 box)

A user may be interested in mass-treatment ("Which files of the second set are duplicates of the first set?"), rather than looking for equivalents one by one. I acknowledge the importance of CTRL+M, though.

Nikos, all these hidden features (two surfaced in this very thread) will make me rewrite the help, though it is an magnum opus already, according to a critic! ;)

***

BTW the "drag-drop headers" feature (to rearrange the columns' order) doesn't work (on NT4 at least-- I will have to check this out on 2k tonight). I had to use ALT+K only. Could this be yet another NT4 problem?

Posted: 2003 Dec 04, 08:41
by vserghi
narayan, the column header drag and drop does work in NT4. It may be that it is not activated in "IvsExtendedStyle". Check out my post on this subject.

Posted: 2003 Dec 04, 09:26
by narayan
Ok, thanks!

This should be enabled by default, though.

******
Nikos, how about the first part of my earlier post (having a selection of columns for the F9/ALT+F9/CTRL+F9 operations)?

Of course, some of the columns may not make sense, but even then you can pack a lot of extra power in that command.

Posted: 2003 Dec 05, 05:27
by Starsurfer
It really would be helpful at least to me.
there were always times, while using 2x there was a time I felt
a need for it. -For a 'Name' only comparison.
& Also then, to add a 'Size' Capability to the name comparison.
i.e size & name

-for example with files D/loaded using fileshare programs, irc etc...
they may have same names; but not size or content.
wrt comparing both content and dates, what would be the point...
- was more a question...yes I guess there would be no point.

----
So to sum it up , there will be 'Name' only comparisons
& I also will be able to do 'Name & Size','Name & content'
and 'Name, Size & Content'
Right ?

~~~~~~~~~~~~~
Starsurfer.




[/quote]

Posted: 2003 Dec 05, 08:24
by rir3760
Comparisons based only in the filename can already be done using the options in the 'Mark', 'selection' menu. For example, if I want to compare:

Left file pane: C:\rirTemp\ToDo\SciTE_157\Langs (38 files)
-and-
Right file pane: C:\Dev\Apps\SciTE\Langs (43 files)

Then what I do is as follows:

* To select all the files with a matching filename:
1.- Activate the first file pane
2.- Control+A (select all), Control+F11 (store selection)
3.- Activate the second pane
4.- Alt+A (unselect all), F11 (apply selection)

* To select all the files without a matching filename:
1.- Activate the first file pane
2.- Control+A (select all), Control+F11 (store selection)
3.- Activate the second pane
4.- Control+A (select all), Alt+F11 (unselect selection)

Hope this helps

Posted: 2003 Dec 05, 10:03
by nikos
good idea!

Posted: 2003 Dec 05, 12:13
by Starsurfer
Hey that's a nice idea rir3760...
I could use that for now whenever I need it.

Nikos that's not to say the more direct comparison
won't be much desired. :-)

So...
there will be 'Name' only comparisons
& I also will be able to do 'Name & Size','Name & content'
and 'Name, Size & Content'
Right ?

thanks

~~~~~~~~~~~~
Starsurfer.

Posted: 2003 Dec 05, 12:16
by nikos
yes, i will start working on a duplicate checker