I am trying to create symbolic link as below
ln -s /home/scripts/logs /home/log
The directory /home/log is already existing ,which cant be deleted. When i do this it creates the symbolic link as /home/log/logs .I know that if the target is a directory and it already exists ln -s
will create a sub folder of source inside target directory. But i just want the contents of my source directory (/home/scripts/logs/"test_contents") to be in target(/home/log/"test_contents"). Do we gave any solution for this
Note: i cant remove /home/logs which contains logs of other applications
/home/scripts/logs
and make it a link to/home/log
?