Friday, April 13, 2018

zip commands

Command to split given zip into multiple small size zips in Ubuntu

First zip a given file into a zip using following command .zippiing a given file named neelam.txt

zip neelam.zip neelam.txt

If zipped file is too big to be sent over email or to big to be attached with bug report, you can split it into multiple chunks using following command


split neelam.zip -b 50M ZIPCHUNKS

where b is bytes  = 50M , 50M means 50 MB and all 50M bytes of data would be put in files having names starting with ZIPCHUNKSaa,ZIPCHUNKSab,ZIPCHUNKSac and so on

No comments:

Post a Comment