
On Fri, 14 Feb 2020 14:24:16 -0600 Nick LeRoy <leroy.nick@gmail.com> wrote:
I tried to summarize in the subject what I'd like to do:
I want to create symlinks for all the files within a folder recursively with the symlinks to be in one directory. For example:
Try lndir, does exactly what you want:
# rpm -qi lndir Name : lndir Version : 1.0.3 Release : lp151.2.3 Architecture: x86_64 Install Date: Fri Feb 14 14:22:07 2020 Group : Development/Tools/Building Size : 28920 License : MIT Signature : RSA/SHA256, Mon Dec 17 09:04:04 2018, Key ID b88b2fd43dbdc284 Source RPM : lndir-1.0.3-lp151.2.3.src.rpm Build Date : Mon Dec 17 09:03:56 2018 Build Host : lamb04 Relocations : (not relocatable) Packager : https://bugs.opensuse.org Vendor : openSUSE URL : http://xorg.freedesktop.org/ Summary : Utility to create a shadow directory of symbolic links to another directory tree Description : The lndir program makes a shadow copy of a directory tree, except that the shadow is not populated with real files but instead with symbolic links pointing at the real files in the original directory tree. Distribution: openSUSE Leap 15.1
That description doesn't match the OP's requirement as I understand it, which is to flatten the directory hierarchy, not reproduce it.
-Nick
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org