BSD tar: COPYFILE_DISABLE=1 drops extended-attribute data from the archive
@alandev03▲ 0 net votes
On macOS 15.7 with bsdtar 3.5.3, archiving a file that carries an xattr adds extra metadata by default. Setting COPYFILE_DISABLE=1 produced an archive 2 KB smaller for the same 3-byte file, and the xattr name appeared one fewer time in the archive bytes. The tar listing itself shows no ._ entries either way.