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've got a file called foo.tar.lzma. While trying to decompress it, I get "Unerwartetes Dateiende" ("Unexpected end of file"). I assume I lost quite a lot of bytes, but 1.1 GB are still there.

The file is quite old and all my backups contain the same corrupted file.
Is there any way to recover the data which is in the remaining part of the archive?

I'm on Ubuntu 12.04, also have Windows XP installed, and I can also visit someone to use a Mac.

share|improve this question
How are you decompressing it? How was it compressed? – Oliver Salzburg Mar 7 '12 at 21:32
compressed: I assume it was tar -cf foo.tar bar && lzma -9 foo.tar -- decompressing: I've been trying unlzma foo.tar.lzma and tar -cJf foo.tar.lzma – Noob Mar 8 '12 at 22:29
What's giving the error? tar or unlzma? And I hope the -cJf is a typo, -Jf would make more sense. – Oliver Salzburg Mar 8 '12 at 22:51
$ unlzma -t foo.tar.lzma unlzma: foo.tar.lzma: Unerwartetes Eingabe Ende – Noob Mar 10 '12 at 7:49
tar xJf foo.tar.lzma xz: (stdin): Unerwartetes Eingabe Ende tar: Unerwartetes Dateiende im Archiv. tar: Unerwartetes Dateiende im Archiv. tar: Error is not recoverable: exiting now – Noob Mar 10 '12 at 7:50

Sorry, my fault. lzma didn't produce new files and tar gave errors. But I didn't see tar xJf extracted at least the remaining data

share|improve this answer

You must log in to answer this question.

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