[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Uncompress .Z files



On Tue, Mar 06, 2007 at 10:18:32AM -0800, Leslie Jordan wrote:
> Can you just do a zcat <filename>.Z > <filename> ?

> 
> This doesn't seem to work, it just spits out a ton of the following kinds of
> characters, and doesn't give me the tar file it has compressed or the
> filename I specified to uncompress it to.
> 
> ÿtÿ¼tLM¼ÿ¶P¾             MÄQ
>     ÿÀ     Èÿ¦û·|ù>M¼ÿ±W

Hmm, you must be doing something wrong then.  It should redierct stdout to the
file you specifie, not to stdout.  A couple ways this should be done.

Let's assume your file is called henry-1.00.tar.Z:

Method 1:
# tar xvfz henry-1.00.tar.Z

Method 2:
# zcat henry-1.00.tar.Z > henry-1.00.tar
# tar xvf henry-1.00.tar

Either _should_ work.

Ray


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]