copying directories

Mark Brethen mark.brethen at gmail.com
Sat Oct 6 16:02:26 UTC 2018


Ah, but "cp -RL …” does.


Mark Brethen
mark.brethen at gmail.com



> On Oct 6, 2018, at 10:53 AM, Ryan Schmidt <ryandesign at macports.org> wrote:
> 
> 
> 
> On Oct 6, 2018, at 10:46, Mark Brethen wrote:
> 
>> When using copy on a directory I noticed that any links inside are copied instead of the linked file and so I end up with dead links after install. Is it acceptable to use System “cp …” during destroot, which does follow the link, in this case?
> 
> Sure, do what works. However, as far as I can tell, if your directory contains synlinks, cp will also just copy the links; it will not resolve them. 
> 



More information about the macports-dev mailing list