[Top][All Lists]

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

gzip over 2GB files please read

From: Linda Meyers
Subject: gzip over 2GB files please read
Date: Wed, 13 Feb 2002 13:58:54 -0800 (PST)

I am concerned that I may not be getting all the correct files I need --

I've heard there are problems with gzip with files over 2GB -- following is a 
scenario where I got gzip to compress a very large tar file, but am not sure if 
it really worked.

following is history:

***********text file exists with files to be tarred:

-rw-r--r--   1 wc_scm   docusp   1732211 Feb  6 15:35 COvu.txt

***********create a tar file

tar cvfp - -I COvu.txt > test.tar

-rw-r--r--   1 wc_scm   docusp   3973160960 Feb  6 15:51 test.tar

************  unable to gzip the very large tarfile

prism:/cluster2/test{20} gzip -cv test.tar > test.tar.gz
test.tar: Value too large for defined data type

*****   HOWEVER if the tar is created by sending to standard out - then going 
through gzip -- it appears to work -   Is it really working?? or will there be 
problem files

tar cvfp - -I COvu.txt | gzip -cv > test.tar.gz

-rw-r--r--   1 wc_scm   docusp   1732211 Feb  6 15:35 COvu.txt
-rw-r--r--   1 wc_scm   docusp   2487908896 Feb  6 16:44 test.tar.gz

I use gzcat as follows:

gzcat test.tar.gz | tar xvf -

It appears to work -- but with so many files, there may be some corrupted that 
do not know about.

I would very much appreciate anything you can you tell me about the above 

                        Linda Meyers
                        Software Configuration Management
                        Xerox Corporation
                        310 333 3202

reply via email to

[Prev in Thread] Current Thread [Next in Thread]