Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Linux tarball that can't be unpacked. It gives me an unexpected error. I am told this is due to case insensitive on MAC OS X. How can I untar this file?

tar -zxvf file.tar.gz
x output/common.xml
tar: Error exit delayed from previous errors.
share|improve this question
Please post the command you entered. – Jens Erat Oct 25 '11 at 23:20
And the error it gave you (copy-and-paste, don't try to summarize). – Keith Thompson Oct 25 '11 at 23:28
Added the error – Chris Muench Oct 25 '11 at 23:37
Can you repeat it without the v so it shows just the error? – ott-- Oct 26 '11 at 1:19
what do you get from tar -tz? – Ram Oct 26 '11 at 3:05

Try 'The Unarchiver'

osX is case sensitive at the command line level.

share|improve this answer
What do you mean with "at the command line level"? Mac OS X is neither case-senstitive nor case-unsensitive. You can have initialize your disk with HFS+ with both options. If your file system is case insensitive it will be it for both the terminal and the Finder. – Matteo Oct 26 '11 at 5:47
HFS+ is case aware but not case sensitive, for default installs of Mac OS X. You can, however, turn on case-sensitivity when formatting a new disk/partition/thingy. – JDS Oct 26 '11 at 12:52
In terminal try this at $HOME cd desktop --AND-- cd Desktop You will find it is case sensitive. – broomdodger Nov 6 '11 at 18:44
The Unarchiver can indeed unarchive case-problematic archives and will rename conflicting files while unarchiving, appending numbers to distinguish them. – Tim Sep 7 '12 at 14:51

"I am told this is due to case insensitive on mac os x"

If case insensitivity really is the issue, try this:

Try plugging in an external USB disk, and formatting it to HFS+ with case sensitiviety enabled (that's an option somewhere in Disk Utility)

Copy the tarball there.

Perform the untar there.

Alternatively, use another FS that is case sensitive, such as ext3 or xfs. I'm pretty sure there are Mac OS X packages available to support those.

share|improve this answer
Comment: Why don't you simply create some kind of virtual drive? And mount that, format that, and untar/work there with case sensitive stuff. ? – Shiki Oct 26 '11 at 5:33
You don't need an external disk. Just create a disk image with "Disk Utility". – Matteo Oct 26 '11 at 5:48
+1 on virtual disk ideas. Didn't think of that. – JDS Oct 26 '11 at 12:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .