Is there a way to suppress valid files beginning with dot (.) in a tar archive giving false errors and files?
A more refined search brought up:
- http://xahlee.info/UnixResource_dir/macosx.html
- https://norman.walsh.name/2008/02/22/tar
using export COPYFILE_DISABLE=true
before extracting the archive prevents the dotfile processing:
$ rm -r test_dir
$ export COPYFILE_DISABLE=true
$ tar xzf test_dir.tar.gz
$ ll test_dir
total 8
drwxr-xr-x 3 xxxx xxxx 96B Jul 31 16:47 .
drwxr-xr-x 4 xxxx xxxx 128B Jul 31 16:47 ..
-rw-r--r-- 1 xxxx xxxx 6B Jul 31 16:22 ._SUCCESS.crc