AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

ZIP multiple files and also specify size of zip file

👤 Login to reply

Thread Tools Search this Thread Display Modes
Old 03-15-2010
tom007 tom007 is offline
Registered User
Join Date: Mar 2010
Last Activity: 15 March 2010, 7:35 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ZIP multiple files and also specify size of zip file

I have to zip many pdf files and the size of zip file must not exceed 200 MB. When size is more than 200 MB then multiple zip files needs to be created.

How we can achieve this in UNIX?

I have tried ZIP utility but it takes a lot of time when we add individual pdfs by looping through a directory.

Is there any UNIX zip utility in which we can specify the size of zip file?

Sponsored Links
Old 03-16-2010
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,521
Thanks: 38
Thanked 335 Times in 308 Posts
If it doesn't matter if you create a chained archive, instead of separate ones, and you're using Info-ZIP, you can use the zipsplit utility.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
To remove files with 0 File Size jojo123 Shell Programming and Scripting 9 06-15-2009 03:17 PM
Files with 0 file size and created today rushs682 Shell Programming and Scripting 7 11-21-2008 04:05 PM
Multiple file existence and checking file size lathish Shell Programming and Scripting 2 06-29-2008 12:03 PM
bash script working for small size files but not for big size files. davidpreml Shell Programming and Scripting 1 11-01-2006 10:06 AM

All times are GMT -4. The time now is 03:16 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?