I have a symbolic link to a file in one directory. I would like to have that same link in another directory. How do I copy a symbolic link?
I tried to cp the symbolic link but this copies the file it points to instead of the symbolic link itself.
|
Use This can be combined with other options such as Even with GNU |
|||
|
|
|
Check this answer http://superuser.com/a/315757/53590 for a specifically CentOS take on the problem. The whole question might help you but the bit at the bottom is specifically CentOS. |
|||||
|
cpon CentOS support-Por--no-dereferenceswitch? – manatwork Nov 19 '12 at 9:10