How to copy contents from a directory and not symbolic link? [closed]
on a directory cp -rvf dir .
copies the symbolic links and not actual contents.
src is copied to module/hal/
.
|-- comm
| `-- alchemist.c
|-- module
| `-- hal
| `-- src
| `-- comm -> ../comm
`-- src
`-- comm -> ../comm
From cp(1)
:
-L, --dereference
always follow symbolic links in SOURCE