Skip to main content
Tweeted twitter.com/super_user/status/1394533219702280192
Source Link
Jesse Beder
  • 1.8k
  • 1
  • 13
  • 14

Why do I get files like ._foo in my tarball on OS X?

When I tar certain files in OS X:

tar cvf foo.tar foo

It produces an extra file ._foo in the tarball:

./._foo
foo

which only shows up if I extract it on a non-Mac operating system. But ._foo doesn't exist on my file system! What's going on? How can I get rid of it?