How to decompress .tar.Z

One way to extract a .tar.Z file:

$ zcat file.tar.Z | tar xvf –

3 thoughts on “How to decompress .tar.Z

      • jayenashar says:

        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.

Leave a reply to jayenashar Cancel reply