I've done a quick search but I can't find anything specific about this scenario:
Let's say I have a directory (let's ignore the path) and call it A. Now, I create a symlink to directory A called S. We should now have:
S -> A
If I then have another directory, let's say B and do something along the lines of:
cp -r B/ A/
will the symlink persist, or would this break it? Let's say instead of using the bash command, I use the python distutils.dir_utils.copytree(B, A), would the symlink S still point to A? Is A still A or has it become B?