AFAIK, that option is specific to HFS+ with compression, preserving an associated extended attribute; but it preserves it even if the receiving end doesn't know what to do with it properly (whatever that is); so I'd want the destination system to be as new or newer, to be reasonably sure it could. Not sure whether it's of any use with APFS.
> On Apr 13, 2018, at 05:05, Christopher Stone <listmeis...@thestoneforge.com> > wrote: > > Hey Folks, > > I'm looking at using rsync for a number of jobs, and figuring out how to use > it properly on a Mac to preserve file attributes and dates has been a bit of > a chore. > > I finally talked to someone I know who wrote a utility around it and got some > good advice. > > Base command: > > rsync -aAHNvXx --fileflags --force-change --numeric-ids --protect-args > --progress --stats <source> <destination> > > My friend's advice and a few places on the Net recommend using this switch on > the Mac: > > --protect-decmpfs (patch by Mike Bombich of CCC fame) > > MacPorts rsync version 3.1.3 protocol version 31 doesn't have this option > available. > > How desirable is this option? > > Is there a way to add the option when building rsync with MacPorts? > > If so I would expect to see a variant, but I've mostly used default ports and > am uneducated about variants. > > I have't fooled with `make` for quite a while (preferring to let MacPorts do > the dirty work for me), but I expect I can make from source if I have to. > > TIA for any useful commentary. > > -- > Best Regards, > Chris >
signature.asc
Description: Message signed with OpenPGP