[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linking Recursively



In article <[🔎] Pine.LNX.4.21.0011301313060.23164-100000@Timberwolf.Provision.Net>,
 <adren@mail.provision.net> wrote:
>What I need is for all the files in the subdirectories of the original
>source to have links created in one directory without all the
>subdirectories being created aswell. This way one could either view data
>in the original tree where it is organized or they can view ALL the data
>files (the new links) in one big directory.

This is Unix, so you use several tools together to accomplish
whatever you want:

$ mkdir collapsed
$ cd collapsed
$ find /original/path -print0 | xargs -0 -n 1 ln -s

[untested ofcourse!]

Mike.



Reply to: