0

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.

  • How are you decompressing it? How was it compressed? – Der Hochstapler 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. – Der Hochstapler 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
0

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.