Page 1 of 1

Ability to hide file duplicates found within the same path

Posted: 2010-01-27, 23:18 UTC
by Robert Borkowski
I missed this particular feature few times already.

When looking for file duplicates in two paths, lets say in the "Search in" box I put "C:\pathA;C:\pathB" I didn't want to find duplicates which only exist within pathA or only within pathB. I was interested in duplicates existing between pathA and pathB.

When files tree looks as follows:
C:\pathA\file1
C:\pathA\copy_of_file1 (the same content as C:\pathA\file1)
C:\pathA\file2
C:\pathA\copy_of_file2
C:\pathB\another_copy_of_file1
C:\pathB\file3

it would only result in one set of duplicates found
------------------------------
C:\pathA\file1
C:\pathA\copy_of_file1
C:\pathB\another_copy_of_file1
------------------------------

completely disregarding
------------------------------
C:\pathA\file2
C:\pathA\copy_of_file2
------------------------------

So the requirement here is to hide sets of duplicates in which all duplicates share the same root as entered in "Search in" box.

This could be easily extended to more than two directories however it's open whether the requirement would be for a file duplicate to exist in all entered search paths or only in more than one.

Posted: 2010-01-28, 08:56 UTC
by TLis
This is rather a task for the Synchronise Dirs function. You set up your directories in the TC panels, invoke the function and after turning off all comparison buttons except 'equal' you will get a list of matching files from both directories.

Posted: 2010-01-28, 11:02 UTC
by Robert Borkowski
TLis wrote:This is rather a task for the Synchronise Dirs function. You set up your directories in the TC panels, invoke the function and after turning off all comparison buttons except 'equal' you will get a list of matching files from both directories.
No, it's not. Synchronization will only work if subdirectories and files names are the same on both sides. It's not the case in my suggestion as duplicates may differ by name. Otherwise I would just use synchronization as you suggested.