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:

image

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