COPYFILE_DISABLE=1 gnutar on Mac OS X will disable such files, at least those
created by Apple tar. gnutar is included with Mac OS X. E.g.,
> COPYFILE_DISABLE=1 gnutar -czf modflow-mac-gfortran.tar.gz Unix
Larry Baker
US Geological Survey
650-329-5608
baker@xxxxxxxx
On 20 Nov 2013, at 3:46 AM, huebbe wrote:
> Dear Netcdf developers,
> I just wanted to bring to your attention that the current source code
> distribution "netcdf-4.3.0.tar.gz" is riddled with a multitude of files
> starting with "._". There is one such invisible file for each and every
> visible file or directory. Introspection of these files revealed some
> MacOS-X system as the culprit, on which the ".tar.gz" was presumably
> generated. Especially nasty is the fact, that there is even one such
> file outside the top level directory "._netcdf-4.3.0", which will not be
> automatically destroyed when the unpacked directory is removed.
>
> Please be sure not to include such files in future source distributions.
>
> One easy way to be safe from such unwanted files within a tarball is to
> use `git archive` to generate the distribution tarballs. This will
> ignore any files not under version control. Maybe other version control
> systems have similar features, but I don't know about them.
>
> Cheers,
> Nathanael Hübbe
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/