当我将Macbook上的文件打包并在Linux中解压缩文件时,我反复收到以下警告/错误:
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
tar: Error exit delayed from previous errors
幸运的是,这不会影响完美还原的存档中存储的文件。但是,它的确会在许多情况下引起问题,尤其是在处理构建过程时,“ tar”返回的非零故障代码会导致构建和安装不必要地停止。
如何获得OS X来构建可与Linux其余部分完美配合的tar文件?
此外,对于奖励积分,存在存在这些问题的公开发行的tar文件。有什么方法可以使Linux优雅地处理tar文件而不更改其原始压缩方式?
/usr/bin/gnutar
。