Folder Diff - file name equivalency only

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
Robinson
Posts: 2
Joined: Tue Sep 06, 2011 12:45 pm

Folder Diff - file name equivalency only

Post by Robinson » Tue Sep 06, 2011 1:12 pm

Hi,

Is there a way to set the equivalency/differences check to file name only in Folder Diff? In other words, consider the files equivalent if the file names are equivalent.

I have two identical folder structures on two different drives. The difference between the "left" and "right" folder branches is that the right branch only has shortcuts to the files in the left branch. I was hoping that I could use Folder Diff to check if all files in left branch have shortcut in the right branch and that the folder structure is the same. The actual filenames for the left branch files and right branch shortcuts are identical, but the file type, size and dates are different.

Right now when I use "Show files without peers" all files are shown as being without peers. Is there perhaps a rule I could create that would consider files with the same name to be peers?

Thank you in advance for any tips!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Folder Diff - file name equivalency only

Post by lbauer » Tue Sep 06, 2011 3:39 pm

I'm not seeing a way to do this. I'll log a feature request for this functionality.
Linda Bauer
SourceGear
Technical Support Manager

Robinson
Posts: 2
Joined: Tue Sep 06, 2011 12:45 pm

Re: Folder Diff - file name equivalency only

Post by Robinson » Tue Sep 06, 2011 4:16 pm

Thank you for that. I have looked at great many directory compare utilities and can't find a single one that will allow this type of "file-name-only" compare. So far the only option seems to be to use DOS or such to create a list as a text file with file paths for each branch, remove start of the path and compare the two lists. So if I have, for example, identical "projectDelta" folder structures with files in one branch and shortcuts in the other branch, the compare should be successful:

Branch "Left" listing:

Code: Select all

C:\source\projectDelta\
C:\source\projectDelta\folderA\
C:\source\projectDelta\folderA\file1.htm
C:\source\projectDelta\folderA\file2.doc
Branch "Right" listing:

Code: Select all

F:\shortcuts\projectDelta\
F:\shortcuts\projectDelta\folderA\
F:\shortcuts\projectDelta\folderA\file1.htm
F:\shortcuts\projectDelta\folderA\file2.doc

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Folder Diff - file name equivalency only

Post by jeffhostetler » Tue Sep 06, 2011 10:05 pm

Sorry, but there's no real way to do that with DiffMerge.

You might install the cygwin tools and use bash, find, and
etc. to make the 2 lists of the files/links like you described.
(There is probably a way to do it using DOS-based tools,
but that hurts to think about.)

j

Aussie
Posts: 3
Joined: Sat Nov 03, 2012 8:47 am

Re: Folder Diff - file name equivalency only

Post by Aussie » Sat Nov 03, 2012 8:53 am

All,

I can see this link is pretty dead ... but just in case ...

Was there any update to DiffMerge to allow for comparing based on selection of just file name and/or size and or other specifics?

I am comparing video files that are large ... I really just want to see that the files are backed up and they are the same size. I am willing to risk that the internal "bits" or OK. I want to increase the speed of the diff.

Thanks in advance.

Aussie
Posts: 3
Joined: Sat Nov 03, 2012 8:47 am

Re: Folder Diff - file name equivalency only

Post by Aussie » Sat Nov 03, 2012 9:15 pm

All,

OK ... I don't want to be a killjoy here ... because I like Diffmerge. :) But in case it doesn't do the file name/size/date compare ... I tripped across Winmerge ... and it provides for the more simple file comparison.

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Folder Diff - file name equivalency only

Post by jeffhostetler » Mon Nov 05, 2012 6:52 am

Sorry, but no that bug/feature has not been fixed yet.

Aussie
Posts: 3
Joined: Sat Nov 03, 2012 8:47 am

Re: Folder Diff - file name equivalency only

Post by Aussie » Mon Nov 05, 2012 9:17 am

Jeff ... thanks for your help ...

Post Reply