Consultor Eletrônico



Kbase P45067: How to uncompress or expand a downloaded UNIX tar.Z file.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/01/2009
Status: Verified

GOAL:

How to uncompress or expand a downloaded UNIX tar.Z file.

GOAL:

How to uncompress or expand a downloaded UNIX tar file.

FACT(s) (Environment):

UNIX
Progress/OpenEdge Product Family

FIX:

Use the following command to uncompress a tar.Z file.


zcat < 91a22.tar.Z | tar xvf -
or
zcat < 91a22.tar.z | tar xvf -
Zcat will look for a capital Z if you leave off the extension, but will use whatever is there if you use the < sign.
Check man pages on zcat if a more exact definition is required.It the file has been uncrompress and (z or Z extension was resolved) and a tar file remains, the tar file can be expanded using the follow syntax of the tar command.

Syntax:
tar -xvf <file-name>.tar

example:
tar -xvf 156_92379.tar

Check man pages on tar if a more exact definition is required.