

This option can be useful if you intend to store the split zipfiles on removable disks, and you need extra space on the first disk for other software, such as an executable file to decompress the archives. Make the first split file smaller by room bytes. For the split to be successful, size must be larger than the largest file in the original zipfile. Report how many files it takes to perform the split, but don't actually split anything.Ĭreate a zip index named zipsplit.idx, and include its size in the first zip file.Ĭreate zipfiles no larger than size bytes. The output of this command looks something like: 66 zip files will be made (70% efficiency)Īs you can see, the result here was 66 new files, archive01.zip through archive66.zip, which together contain the same files as archive.zip.Īrchive.zip is unchanged by this process. which tells zipsplit to create a sequence of zipfiles, each no larger than 1048576 bytes (one megabyte), which collectively contain the same files as archive.zip.

You could use this command: zipsplit -n 1048576 archive.zip Let's say you have a zipfile named archive.zip that is about 50 megabytes in size, and you want to split it into pieces that are no larger than 1 megabyte.
Zipsplit linux archive#
Zipsplit does not break the individual files in your archive into smaller pieces therefore, the minimum size of the split zipfiles is the size of the largest file inside the original archive. This command can be useful, for instance, if you need to break an archive into smaller archives that fits onto removable media of limited capacity. Zipsplit is a very simple program which will split an archive into smaller, sequentially-numbered zipfiles.
