Folder Structure Synchronization/Aligning software

OK, not directly related to Rhino (thus meta), but at least indirectly. My question is if anyone knows of any existing (read carefully now) Folder Structure Syncronization software (or algorithm).

Important: I’m not talking about regular compare, copy or merge, instead I’m looking for a tool (or algorithm) for identifying similar folders (by folder content, including but not necessarily exclusively by folder name) and when found, reorganize the folders to match either structure, and rename folders which differs.

Background: This should sound familiar to some of you: At times I find my disk-folder structure not having “optimal structure” or a good name, and so I go about reorganizing it. But, in cases when I have a working copy on another machine, then at some point in time I want to sync the two structures, even if they (over time) have come to have:

  1. Different Folder Structure
  2. Different Folder Names (renamed)

Fig. 1: A mock example of the above is illustrated below. Goal: The root folder B should be reorganized to have the same structure as root folder A:


Two of the main problems involved with identifying folder similarities folder are,

  1. Folder names may differ (due to renaming)
  2. Folder content (% similarity of the files)

Now, even if no 100% certain matches can be found, it suffice in most cases that you find similarities over a certain percent threshold, which will be enough to indicate an actual match, which is enough to decide to sync (rearrange) the folders to match the structure on the other side (file content aside).

Since Folders are fewer than the number of files, manual interaction based on finding folder similarities, should be manageable even for deep folder structures.

Does a tool for something like this exist? I’ve been searching for years, but not found anything coming even close. For photos I use tools like “Visual Similarity Duplicate Image Finder” (and dupe files ditto) but that doesn’t help much finding or resolving the differing folder structure problem.

// Rolf

I should add that this is a problem that typically arises “after the fact” if not using a synchronization scheme from get go, with software like SyncBackPro (which I use).

// Rolf

Don’t think I can help much but I recently merged content from an existing laptop to a new workstation and had numerous folders with sub folders and some duplicates.

I found the search string NOT kind:folder quite useful. It displays all files without sub folders in a folder.

just seeing this now @RIL, for fixing a mismatch of directories/computers we use a little app called FolderMatch FolderMatch v4 - Compare Folders demo - YouTube



Hi @gustojunk, I use something similar named Araxis (Araxis Merge – Advanced 2 & 3-way file comparison (diff), merging and folder synchronization) which has both Folder and File comparison (down to character by character comparison in text/code files). This works if doing 100% manual “flat comparisons” and manual corrections. What I’m looking for though (I’m still looking) is a software capable of “identifying similar folders” (despite having different names and having different locations in the overall folder structure).

Let’s say I select a folder A on disk knowing that on another disk there exist a similar folder structure (but with other folder name(s) although somewhat similar file content). At this point I would like to activate a search which automagically finds this other folder structure on the other disk (only guiding the algorithm to the right disk). The structure being found would have so and so much % similarity, and after a quick check if the folder structures are the ones that SHOULD become identical, another click on a button would rename the folder(s) on the other side.

Pay attention to the words “structure similarity” since it is a bit abstract compared to “flat comparison”, of two already SELECTED root-folders (on each side of a comparison) which “should” have the same name. What I want to find is that other folder not even knowing where it is located, regardless of its location or “level” of the folder structure on the other disk. It could be part of a completely different structure. Like so:

Disk1: A-B-C

// Now find a structure similar to “A-B-C” anywhere on disk 2,
// even if the folder names are not identical (illustrated by the
// lower case “b” below, although the folder names could be
// arbitrarily different names where the similarity is based on folder
// content rather than the folder names them self):

Disk2: D-F-Q-A-b-C-Z-R //Match!

Finding A-b-C would be considered success (based on the folder content)

A bit longwinded perhaps, but restructuring folders can end up being messy…