Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Decompress a z archive

  1. #1
    Join Date
    Aug 2011
    Location
    usa
    Posts
    232

    Default Decompress a z archive

    I've got an artchive with a z suffix and I can't seem to decompress it. I know this sounds silly. Ark does not know how either. I tried the tar command with no succes (but I figured out that I could compress data to get a z suffix archive.)

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Decompress a z archive

    Let us ignore first the suffix, what does the file command tell you
    about that archive?
    For example
    Code:
    file name_of_the_archive.z
    of course using its real name.

    --
    PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.2 | GTX 650 Ti
    ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.3 | HD 3000
    HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.2 | GMA4500

  3. #3

    Default Re: Decompress a z archive

    Use the 'uncompress' command on .Z files.

    Good luck.

  4. #4
    Join Date
    Aug 2011
    Location
    usa
    Posts
    232

    Default Re: Decompress a z archive

    Yes, I know that it's an archive using UN*X compress. What I'm not sure on is how to tell CPIO or TAR to decompress it. I'd like an example of decompressing it on the command line. I tried working with one of the examples but it was no good.

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Decompress a z archive

    On 2013-06-05 22:26, ballsystemlord wrote:
    >
    > Yes, I know that it's an archive using UN*X compress. What I'm not sure
    > on is how to tell CPIO or TAR to decompress it. I'd like an example of
    > decompressing it on the command line. I tried working with one of the
    > examples but it was no good.


    As Martin said, you should verify first that it is really a "compress" file.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  6. #6
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,111

    Default Re: Decompress a z archive

    On Wed, 05 Jun 2013 20:26:03 +0000, ballsystemlord wrote:

    > I tried working with one of the examples but it was no good.


    What error message did you get when you tried?

    What is the output of:

    file [filename]

    (Replace [filename] with the name of your file)

    Jim

    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  7. #7
    Join Date
    Aug 2011
    Location
    usa
    Posts
    232

    Default Re: Decompress a z archive

    Here's all the terminal output/input

    cpio -idv very_large_data_file.z

    cpio: Malformed number �h��j��l

    tar -tvf very_large_data_file.z

    tar (child): cannot run compress: No such file or directory
    tar (child): trying gzip
    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Exiting with failure status due to previous errors

    tar -xf very_large_data_file.z

    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Exiting with failure status due to previous errors
     
    tar -x -Z -f very_large_data_file.z

    tar (child): compress: Cannot exec: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Decompress a z archive

    On 2013-06-18 17:26, ballsystemlord wrote:
    >
    > Here's all the terminal output/input


    Not all. Jim asked for the output of

    Code:
    file [filename]
    and you did not.

    Please use code tags for printouts and commands. Advanced forum editor,
    '#' button.
    Posting in Code Tags - A Guide


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  9. #9
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,111

    Default Re: Decompress a z archive

    On Tue, 18 Jun 2013 15:26:01 +0000, ballsystemlord wrote:

    > Here's all the terminal output/input


    It would be useful if you gave the output of the command I specified:

    file very_large_data_file.z

    That will tell us what the system thinks the file is. If it's really
    named "very_large_data_file.z", it's probably not a tar file, compressed
    or not.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  10. #10
    Join Date
    Aug 2011
    Location
    usa
    Posts
    232

    Default Re: Decompress a z archive

    Sorry Jim,
    I forgot to run the file program.

    Here's the output:
    Code:
    file very_large_data_file.z
    very_large_data_file.z: compress'd data 16 bits

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •