how to copy soft link
when I copy use cp, it says cannot copy soft link file.
how to copy it ? |
I'm guessing it is an issue of permissions. Check to see that you have write access to the directory where you are trying to put the link.
(I just tried copying a link where I have permissions and it works fine) |
I remember their is an option of cp command, but not sure which one
|
Your reply does not seem to relate to mine....
try "man cp"---but I have never seen an option for copying links. Again it worked for me by just using: "cp <linkname> <directory>" |
use "-d" switch with cp to copy links
% cp --help | grep link;
-d, --no-dereference never follow symbolic links ... |
% cp --help | grep link
-d, --no-dereference never follow symbolic links |
All times are GMT -5. The time now is 03:59 AM. |