Page 1 of 1

Comparing Filenames

Posted: Thu Feb 15, 2007 12:02 pm
by tvanveen
Trying to figure out if I can do this....I want to compare filenames in 2 different directories while ignoring everything about the files except the names before the extension. For example -

Folder 1

pic1.cr2
pic2.cr2
pic3.cr2

Folder 2

pic1.jpg
pic3.jpg

The comparison would show me that pic2.cr2 is in dir 1 but not dir 2.

Possible?

Thanks,

Tom

Posted: Thu Feb 15, 2007 7:23 pm
by psguru
Not possible.

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 5:19 am
by Alexo
Allow me to to join the request for this feature.

The ability to quickly compare two directory trees ignoring the contents of files is very useful.
I often need to find out only what files were added, removed or changed size.
This comparison can be extremely quick if file contents can be ignored. However, today it takes a very long time, especially if there are a many large files in the directories.

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 9:45 am
by psguru
I think that what you are asking is different, and it is already possible in ExamDiff Pro. See Options | Dir Comparison | Type Of File Comparison.

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 2:46 pm
by Alexo
psguru wrote:I think that what you are asking is different
Correct, I wasn't attentive.

psguru wrote:and it is already possible in ExamDiff Pro. See Options | Dir Comparison | Type Of File Comparison.
I may be missing something.
What options should I check to always ignore file contents?

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 2:57 pm
by psguru
If "Perform Full File Comparison" is not checked, file contents will not normally be compared. Instead, what you checked will be used to compare files: timestamps, sizes, CRCs (takes longer). Still, if none of the checked options are satisfied, files will be compared by their contents.

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 5:57 pm
by Alexo
That was my understanding as well.
What I would like is a "never compare contents" option.
It should not be too hard to implement.

Re: Comparing Filenames

Posted: Wed Mar 26, 2008 6:48 pm
by psguru
Give me an example of two files that you think will be compared fully (with their sizes and timestamls).

Re: Comparing Filenames

Posted: Fri Mar 28, 2008 3:08 am
by chiwawa
Same topic, but I kinda want to do the oppsosite. How can I do a full compare (ie the contents of the file) of a directory ignoring a portion of the file name (other than manually selecting)?

eg B1234.ext is modified (new codes added) to B1234_ABCD.ext but needs to be checked against original. How can i make ExamDiff Pro ignore _ABCD in the file name (if possible? alternatively via a small plugin? )

on a quick side note, are there any plans to add contextual menu support for comparing 2 files/directories ie right click on file for left side, right click on file for right side, edpro opens and compares both files.. (common feature in many diff programs)?

Thanks

Re: Comparing Filenames

Posted: Fri Mar 28, 2008 10:39 am
by psguru
How can i make ExamDiff Pro ignore _ABCD in the file name (if possible? alternatively via a small plugin? )
No, this is not possible.
on a quick side note, are there any plans to add contextual menu support for comparing 2 files/directories ie right click on file for left side, right click on file for right side, edpro opens and compares both files.. (common feature in many diff programs)?
You can already select one file in each pane, and use the "Compare Selected" context menu command. Or you select files in Windows Explorer and use the ExamDiff Pro Shell extension to compare them.

Thanks