---
title: "mac tar ._foo files"
author: "ggsonic"
date: "2013-04-12T11:37:13Z"
tags: []
categories: ["操作系统"]
slug: "mac-tar-foo-files"
draft: false
lastmod: "2013-04-12T11:37:13Z"
id: 1846241
url: "https://ggsonic.iteye.com/blog/1846241"
---

mac tar files 
解压后存在大量._foo 文件
set

```shell

export COPY_EXTENDED_ATTRIBUTES_DISABLE=true

```

on Tiger, or

```shell

export COPYFILE_DISABLE=true

```

on Leopard and newer OS X. 
then tar cvfz ...