Creates a shadow directory of symbolic links to another directory tree
'lndir' makes a shadow copy (todir) of a directory tree (fromdir). The shadow is populated with symbolic links pointing at the real files in the fromdir directory tree, not with real files. This is useful for maintaining source code for different machine architectures. You create a shadow directory containing links to the real source (usually mounted from a remote machine). You can build in the shadow tree, and the object files will be in the shadow directory, while the source files in the shadow directory are just symlinks to the real files. If you update the source, you need not propagate the change to the other architectures by hand, since all source in all shadow directories are symlinks to the real thing: just cd to the shadow directory and recompile.
DocumentationUser manpage available in HTML format from www.xfree86.org/4.3.0/lndir.1.html
released on 30 June 1996
This entry (in part or in whole) was last reviewed on 1 March 2017.