Comment by gregmac

2 years ago

As a non-Mac user, I always find it somewhat annoying when I download some .tgz published on Github or something and find .DS_Store littered inside.

I guess macos probably just uses GNU tar? It's kind of surprising it wasn't modified or configured by default to ignore .DS_Store.

> It's kind of surprising it wasn't modified or configured by default to ignore .DS_Store.

It was, but not by default.

If you export COPYFILE_DISABLE=true then tar will skip .DS_Store files.