Here's what I have:
An arbitrary set of directories with arbitrary content. Let's say:
I want to turn that into a symlink farm thusly:
/somedir/foo/bar.html => website-a/foo/bar.html
/somedir/foo/baz.html => website-a/foo/baz.html
/somedir/foo/net.html => website-b/foo/net.html
/somedir/baz => website-b/baz
/somedir/foo/blah => website-c/foo/blah
That is, I want an 'optimized' symlink farm, if such a monster could be called optimized.
Amazon folks: like what apollo does.
And I want to do it in perl (I'd also accept ruby)
Anybody got something sitting around for doing that?
edit: Nevermind. Brain finally turned on.