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.

6
  • How are you decompressing it? How was it compressed? Mar 7, 2012 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, 2012 at 22:29
  • What's giving the error? tar or unlzma? And I hope the -cJf is a typo, -Jf would make more sense. Mar 8, 2012 at 22:51
  • $ unlzma -t foo.tar.lzma unlzma: foo.tar.lzma: Unerwartetes Eingabe Ende
    – Noob
    Mar 10, 2012 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, 2012 at 7:50

1 Answer 1

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

You must log in to answer this question.

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