Create symlinks recursively for a whole tree
cp -rs source/ dest/
should do the trick. The directory structure will be recreated at dest/ with each file being a symlink to its counterpart in source.
In case cp -rs
is not the answer you're looking for, lndir
might be the correct answer.