Google Answers Logo
View Question
 
Q: Compression of files in Linux Systems ( No Answer,   1 Comment )
Question  
Subject: Compression of files in Linux Systems
Category: Computers > Software
Asked by: seishi-ga
List Price: $2.00
Posted: 11 Oct 2006 11:07 PDT
Expires: 11 Oct 2006 13:11 PDT
Question ID: 772697
why is not possible to convert a file from .zip compression to tar.gz
compression.. using only "unzip -c file.zip | gzip -c > file.tar.gz".
I afirm that is possible with conversion tar.gz to tar.bz2 with
"gunzip -c file.tar.gz | bzip2 -c > tar.bz2". In this example we se
the '-c' parameter used in the comands gunzip and bzip2, it means 'do
what the comand do, not to a file but to the standard output.

Clarification of Question by seishi-ga on 11 Oct 2006 12:35 PDT
andre@ubuntu:~$ gzip -V
gzip 1.3.5
Answer  
There is no answer at this time.

Comments  
Subject: Re: Compression of files in Linux Systems
From: frankcorrao-ga on 11 Oct 2006 11:31 PDT
 
As an aside, I don't think the proper extension is just .gz or .bz2. 
The .tar refers to a tar archive which this is not.

As for your question, what error do you get? What version of gzip do
you have (gzip -V). I just tried something similar and it worked.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy