[OpenIndiana-discuss] Solaris cp problems

Jim Klimov jimklimov at cos.ru
Tue Sep 25 13:52:01 UTC 2012


2012-09-24 17:42, Magnus пишет:
>
> On Sep 24, 2012, at 6:09 AM, Sebastian Gabler wrote:
>>
>>
>> PS: I am using the Solaris cp command to have an easy way to preserve file attributes moving a share from one pool to the other of my CIFS server.
>
> rsync would do a better job of that generally speaking.

No it won't, if we're speaking about ACLs and extended attributes
which rsync AFAIK does not know about. In this case you might be
better served by Sun versions of find and cpio, see examples in
the cpio manpage.
//Jim



More information about the OpenIndiana-discuss mailing list