How to decompress .tar.Z One way to extract a .tar.Z file: $ zcat file.tar.Z | tar xvf - About these ads Like this:Like Loading...
jayenashar says: October 9, 2011 at 10:48 am why not tar zvxf file.tar.Z? you should really name your files .tar.gz or .tgz if they are gzipped. Reply
kenno says: October 10, 2011 at 7:39 am Ahh.. I didn’t know that .tar.Z is the same as tar.gz. In that case, of course tar xzvf file.tar.Z is simpler.Thanks. Reply
jayenashar says: October 11, 2011 at 1:20 am it’s not supposed to be, but you managed to use zcat, so I assume it’s a .gz (gzip) masquerading as a .Z (compress). if it was really a .Z, you should have been able to do xvf, axvf, Zxvf, -I compress xvf, etc.
why not tar zvxf file.tar.Z? you should really name your files .tar.gz or .tgz if they are gzipped.
Ahh.. I didn’t know that .tar.Z is the same as tar.gz. In that case, of course tar xzvf file.tar.Z is simpler.Thanks.
it’s not supposed to be, but you managed to use zcat, so I assume it’s a .gz (gzip) masquerading as a .Z (compress). if it was really a .Z, you should have been able to do xvf, axvf, Zxvf, -I compress xvf, etc.