Snow leopard tarball-uploading issues
Here's the scenario:
- Create a tarball on your Mac (of a .git repo in my case) [ex,
$tar czf repo.tgz repo.git] - scp that up to your server running Linux [ex,
$scp repo.tgz user@server.com] - extract the tarball on your server [ex,
$tar xzf repo.tgz
And you're barraged with a bunch of the following:
tar: Ignoring unknown extended header keyword `SCHILY.dev'
tar: Ignoring unknown extended header keyword `SCHILY.ino'
tar: Ignoring unknown extended header keyword `SCHILY.nlink'
The problem is that Linux uses GNU Tar, and Snow Leopard uses BSD Tar (used to use GNU Tar, which is why it used to work). The solution is to use GNU Tar on your Mac instead, ala the following command:
$cd /usr/bin; sudo ln -fs gnutar tar
To set it back you can run $cd /usr/bin; sudo ln -fs bsdtar tar .
See the later comments at http://macitbetter.com/node/354 for a lo-down.
