It is an odd behaviour seen only on Solaris that when I try to copy a symbolic link with the "cp -R -P
" command to some other folder with a different name, it copies the entire directory/file it's pointing to.
For example:
link -> dir
cp -R -P link folder/new_link