[OT, unix] Looking for recursive soft linking incantation

Lex Spoon lex at cc.gatech.edu
Fri Feb 8 23:54:34 UTC 2002


> A similar little script might help people having problems with VMMaker
> using a lot of structured directories, so if anyone can describe how to
> take
> platforms/{platformname}/* and platforms/Cross/* and src/* and produce
> single directory of links to all of the contained files that would be
> very useful. I suppose {platformname} ought to be an argument for this
> script. Both scripts really ought to take the source and dest
> directory names as well.
> 

I'm sure there are utilities around that do this kind of thing, but I
don't know the name of any offhand.

You can get a good starting point from the mkMake script in
platforms/unix/misc/util.  This script goes through and figures out
which files override which, and ultimately does find complete lists of C
files.  It could be made to work for all files instead of just C files,
etc.


However, the Smalltalk idea is interesting.  How about modify the code
that did the copying from VMMaker, and have it run "ln -s" using
OSProcess instead of caling the file copier?

(Alternatively, you know, you can just hack the FileCopyPlugin to make
links instead of making copies.  :) )

-Lex



More information about the Squeak-dev mailing list