Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a limit for gzip file size?

Status
Not open for further replies.

Wrathchild

Technical User
Aug 24, 2001
303
US
I've encountered an error with a tar file and believe I found the anwswer here, it being a file size condition. So, I'm thinking of using gzip now, but was wondering if that too had a size limit. Didn't see anything in my book or in man.

thanks
 

On most *nix flavours 2Gig input file if 'gzip'ing directly.

One work-around:

cat Gt2GigFile|gzip -c >Gt2GigFile.gz

[3eyes]

----------------------------------------------------------------------------
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
 
I believe gzip 1.3.5 or higher can cope with files larger than 2GB. Certainly on Solaris anyway. 1.2.4 is a very commonly deployed version which can't.

Annihilannic.
 
I'm certain I've gzipped (via ver.1.3.3) 5Gb files on Solaris9

To find display gzip version: "gzip -h
 
I confirm that gzip 1.3.3 can cope with files larger than 2Gb (via gtar -cz) on SCO 5.0.x too.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top