georgeb wrote: 2024-01-12, 14:29 UTCAgain, who needs matches in the base directory?
Someone who understands the principle of relativity correctly.
Relative to what should the chain appear? Relative to emptiness? This is stupid from the point of view of logic.
Otherwise, this will be called differently than the relative path.
georgeb wrote: 2024-01-12, 14:29 UTC
So that later on I can individually decide within the conventional TC-panels which side has the correct/better/newer substructure which therefore should prevail on both sides in the future for the purpose of consolidation where only few intentional duplicates would survive but for the major part only one version thereof would prevail - albeit only the one located in the proper location with the correct name (in other words getting rid of misspelled/falsely-renamed and/or copies wrongfully moved to incorrect locations).
Explain more simply (better with working examples). My brain broke down trying to understand the described approach.
georgeb wrote: 2024-01-12, 14:29 UTCThat was implicitly clear from the beginning as I've always been referring to the complete paths as they are given right behind each duplicate listed in the search-result-window. All of these paths always start with a drive letter - be it the same after a search only within one drive or be it different ones in case of a multiple-drive-duplicates-search.
Specifying full paths doesn't answer the question of the resulting chain, so it wasn't obvious.
georgeb wrote: 2024-01-12, 14:29 UTCWho the hell would have to "approve" something here?
The author of the program and no one else. This follows from my context.
georgeb wrote: 2024-01-12, 14:29 UTCI mean "Drive_D" (For D:\) for example is absolutely self-explanatory as it couldn't be any clearer for Heaven's sake
It doesn't matter what you think about it. It's important that there is no need for prefixes like 'Drive_'. Don't freak out in vain.
georgeb wrote: 2024-01-12, 14:29 UTCWho would even need parsing here - or care much about "base-directories"? Just use the explicit AND complete path as already given adjacent to each duplicate found in the duplicate-search-result-window. It's ready-made for being used as is!
Have you ever developed something like this? At least at the scenario level? I'm afraid not.
Take NTLinksMaker as an example. There, right in the dialog, the path to the base directory is indicated, relative to which the structure can be reproduced. Copying TC from DirBrach mode (Ctrl+B) works similarly.
If the current directory is C:\Dir, then it becomes the base for the remainder of the path chains:
C:\Dir\file.ext
C:\Dir\Dir2\file.ext
C:\Dir\Dir2\Dir3\file.ext
By deleting C:\Dir\, in the remainder, the paths that will be reproduced are obtained.
And a single complete path doesn't provide any information at all to form a relative path. It only provides information for reproduction the entire chain, including the drive letters, as I wrote earlier.
Why is it easier with a plugin in this regard? Because by setting the nesting level, you can cut off the left part, dividing the path components by backslash. But there is one significant problem with this custom relativity — the number of components in some paths may be less than the user specified, which will be an error. This human factor will also be taken into account by the author when considering the option with levels. Only the zero level, as, in fact, indicated in the plugin's readme, is safe. I advise you to read the description of the DefaultCopyLevel key in order to evaluate the full depth of the optionality.