Jump to content

Question about zip -T


phpknight

Recommended Posts

Hi,

 

I am creating some zip files using the -T option.  A site I found says this:

-T

Test the integrity of the new zip file. If the check fails, the old zip file is unchanged and (with the -m option) no input files are removed.

 

What exactly does it mean to pass?  Does that mean if the files were okay going in that the zip is guaranteed to have good files that are not corrupt?

 

Also, what is the max size of a zip file?  Can it go up to Terabytes or does it die at a certain point like 5 GB or something?

Link to comment
https://forums.phpfreaks.com/topic/84678-question-about-zip-t/
Share on other sites

Zip compression is a fairly poor algorithm when compared to gzip. Any reason your using zip on Linux?

 

And if you're going for better compression, bzip2 is even better than gzip, and I've heard that 7zip is even better than bzip2, although I've never tried it.

Link to comment
https://forums.phpfreaks.com/topic/84678-question-about-zip-t/#findComment-431649
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.