相关疑难解决方法(0)

获取 mac tar 以停止将 ._* 文件名放入 tar 存档

可能的重复:
为什么我在 OS X 上的 tarball 中得到像 ._foo 这样的文件?

我在 Mac 上创建了 autoconf 脚本。当 tar 运行时,它会将所有这些 ._ foob​​ar名称放入存档中:

libewf-20110312/borlandc/builder5/ewfacquire/._ewfacquire.bpf
libewf-20110312/borlandc/builder5/ewfacquire/ewfacquire.bpf
libewf-20110312/borlandc/builder5/ewfacquire/._ewfacquire.bpr
libewf-20110312/borlandc/builder5/ewfacquire/ewfacquire.bpr
Run Code Online (Sandbox Code Playgroud)

现在发生的事情是 Apple 的 HFS 文件系统将文件属性放在 ._ foob​​ar名称中,以便它们可以在另一个 Mac 系统上恢复。但我不想要它们——它们对我来说只是垃圾。有什么办法可以压制他们吗?

metadata filesystems tar macos

47
推荐指数
1
解决办法
3万
查看次数

标签 统计

filesystems ×1

macos ×1

metadata ×1

tar ×1