phpknight Posted January 6, 2008 Share Posted January 6, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/84678-question-about-zip-t/ Share on other sites More sharing options...
trq Posted January 6, 2008 Share Posted January 6, 2008 Zip compression is a fairly poor algorithm when compared to gzip. Any reason your using zip on Linux? Quote Link to comment https://forums.phpfreaks.com/topic/84678-question-about-zip-t/#findComment-431640 Share on other sites More sharing options...
neylitalo Posted January 6, 2008 Share Posted January 6, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/84678-question-about-zip-t/#findComment-431649 Share on other sites More sharing options...
phpknight Posted January 6, 2008 Author Share Posted January 6, 2008 Not really. I am actually mostly just using it to get PNG files in the same spot, so I am not sure how much they really compress. Any info on the max file size of the final compressed file and what integrity check does (either with zip or the others)? Quote Link to comment https://forums.phpfreaks.com/topic/84678-question-about-zip-t/#findComment-431667 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.