If you want to remove the destination before you link use the -rm option.
This program will allow you to link a directory tree to another directory tree by exectuting:
% klndir -s -src /{FULLPATH TO SRC DIR} -dest /{FULLPATH TO DEST DIR}
For the -tb option, it is assumed that the links will be made in toolbox/mach/arch. You can customize this for your site by modifying the script. You can also use klndir to link multiple toolboxes' objects directory, by doing:
% klndir -s -tb toolbox1,toolbox2
It can also be used to link multiple objects within a toolbox:
% klndir -s -tb toolbox -oname object1,object2
Or all the examples within a toolbox and not link the objects:
% klndir -s -tb toolbox -examples -noobjects
Or all the testsuites within a toolbox and not link the objects:
% klndir -s -tb toolbox -testsuite -noobjects
Or all the objects and testsuites within a toolbox:
% klndir -s -tb toolbox -testsuite
Or all the objects, examples and testsuites within a toolbox:
% klndir -s -tb toolbox -testsuite -examples
Or all the examples and testsuites within a toolbox and not link the objects:
% klndir -s -tb toolbox -testsuite -examples -noobjects
Or all the same types of objects (library, kroutine, xvroutine, script or pane) within a toolbox:
% klndir -s -tb toolbox -type library
It will make links for the toolbox in the architecture specified by -arch
% klndir -s -tb toolbox -type library -arch sunos
or use the defaults: zen osf3.2 osf3.0-gcc sunos solaris irix5.2 sol2.4-gcc linux386 solaris-clcc freebsd386 sgi bsdos386 dg alpha ibmrs6 if -arch not specified. We recommend you set the -arch defaults for your site by modifying the script.