I have a problem. When i copy a folder to destination for that destination has link with source folder name, the link change to directory
$cd /home/srr7
$mkdir jetty_home123
$ln -s jetty_home123 jetty
$ ls -l
lrwxrwxrwx 1 srr7 srr7 13 Nov 27 14:12 jetty -> jetty_home123
drwxrwxr-x 2 srr7 srr7 4096 Nov 27 14:12 jetty_home123
$cp -rf /opt/jetty /home/srr7
/opt/jetty is directory and contain multiple files.
I want to keep jetty link and copy subfolder and files of /opt/jetty to /home/srr7/jetty/.
How to solve this problem.