merge directory utility

  • Thread starter Thread starter * ProteanThread *
  • Start date Start date
P

* ProteanThread *

that either renames files (i.e. file and file both exist in
destination so one of them becomes file(1) or file-1) or somehow weeds
duplicates (not just by name but by name and or size / crc)
 
But whar happens if 2 files have same name, but not same date/size ? I
suppose, from reading website description, that the file woudl be
overwritten, instead of suffix appended ? Have you already tried that
utility ?
Phil
 
But whar happens if 2 files have same name, but not same date/size ? I
suppose, from reading website description, that the file woudl be
overwritten, instead of suffix appended ? Have you already tried that
utility ?
Phil

download the app, start it, press the About/Help button

(You may want to try it first on small temporary directories to get
familiar with it.)
 
Pivert said:
But whar happens if 2 files have same name, but not same date/size ?


A. Files in SRC and DEST which have same name, + same size + same datetime.

These are seen as duplicates. So those duplicates be purged from the SRC
folder, and you will end with only the originals in the DEST folder.


B. Files in SRC and DEST which have same name, but diff size or diff datetime.

Then those files are moved to DEST, but renamed with a numeric suffix
appended to the original name.


..............................................................................
Before MERGEDIR

SRC
fileww.exe 90.3 k 2003.01.01 02:00
fileww.lnk 1.1 k 2004.03.25 11:12
filexx.txt 15.1 k 2004.03.30 07:52

DST
fileww.exe 90.3 k 2003.01.01 02:00
filexx.txt 15.1 k 2003.02.10 09:21


After MERGEDIR

SRC [empty]

DST
fileww.exe 90.3 k 2003.01.01 02:00
fileww.lnk 1.1 k 2004.03.25 11:12
filexx.txt 15.1 k 2003.02.10 09:21
filexx-1.txt 15.1 k 2004.03.30 07:52

..............................................................................


Notes

1.
Since some files might have the same content, but different dates, you might
want to supplement this operation with a second duplicator utility, pointed
at your merged DST directory, which can be told to ignore name in check for
sameness, and look only at content.

2.
MergeDir is for single-level folder merging only. It does not see subfolders.
 
Thanks !
omega said:
Pivert said:
But whar happens if 2 files have same name, but not same date/size ?


A. Files in SRC and DEST which have same name, + same size + same datetime.

These are seen as duplicates. So those duplicates be purged from the SRC
folder, and you will end with only the originals in the DEST folder.


B. Files in SRC and DEST which have same name, but diff size or diff datetime.

Then those files are moved to DEST, but renamed with a numeric suffix
appended to the original name.


.............................................................................
..
Before MERGEDIR

SRC
fileww.exe 90.3 k 2003.01.01 02:00
fileww.lnk 1.1 k 2004.03.25 11:12
filexx.txt 15.1 k 2004.03.30 07:52

DST
fileww.exe 90.3 k 2003.01.01 02:00
filexx.txt 15.1 k 2003.02.10 09:21


After MERGEDIR

SRC [empty]

DST
fileww.exe 90.3 k 2003.01.01 02:00
fileww.lnk 1.1 k 2004.03.25 11:12
filexx.txt 15.1 k 2003.02.10 09:21
filexx-1.txt 15.1 k 2004.03.30 07:52

.............................................................................
..


Notes

1.
Since some files might have the same content, but different dates, you might
want to supplement this operation with a second duplicator utility, pointed
at your merged DST directory, which can be told to ignore name in check for
sameness, and look only at content.

2.
MergeDir is for single-level folder merging only. It does not see subfolders.
 
Back
Top