Compression of files in Linux Systems
Category: Computers > Software
Asked by: seishi-ga
List Price: $2.00
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.
|There is no answer at this time.|
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.
If you feel that you have found inappropriate content, please let us know by emailing us at email@example.com with the question ID listed above. Thank you.
|Search Google Answers for|