Ok, so I\'ve been trying to get my head around this, but I\'m struggling.
The premise is this: I have a directory with lots of subdirectories (some of which also con
How about using find?
find
cd -- "$SOURCEDIR" find -type d -exec mkdir --parents -- "$DESTDIR"/{} \; find -type f -exec ln --symbolic -- "$SOURCEDIR"/{} "$DESTDIR"/{} \;