Rsync and --protect-decmpfs

Richard L. Hamilton rlhamil at smart.net
Fri Apr 13 11:21:49 UTC 2018


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 <listmeister at 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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180413/42d067b7/attachment.sig>


More information about the macports-users mailing list