JD, et al -- ...and then jdd@dodin.org said... % % Le 20/02/2020 à 05:48, David T-G a écrit : % % >% BTW: As you can see, the file "2" exists several times below $source_dir, % >% and therefore the symlink gets overwritten. % >[snip] % > % >I'm surprised nobody has brought up this problem before now; % % I did from the beginning :-) Oh! Good for you and thanks :-) Sorry I missed that. % ... % > path-to-src-b-2 ... % > path-to-src-2 % > % >in this example, to disambiguate. % % or add rand number on the name True, but one presumes that the OP might want to know WHICH "2" was which in the flat dir, and the random number won't help that. % % I couldn't follow all the thread, and didn't get the case where this % is needed, that may be important Just two (or more) same file names in different places in the tree to be flattened. % % jd HAND :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org