zipsplit [-t] [-i] [-p] [-s] [-n size] [-r room] [-b path] [-h] [-v]
[-L] zipfile
-t
Report how many files it will take to perform the split, but don't actually split anything.
-i
Create a zip index named zipsplit.idx, and include its size in the first zip file.
-n size
Create zipfiles no larger than size bytes. For the split to be successful, size must be larger than the largest file in the original zipfile. Default is 35978 bytes.
-r room
Make the first split file smaller by room bytes. 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. The default value of room is zero.
-b path
Output zip files into the path path.
-p
Pause between each zip file that is output.
-s
Perform a sequential split even if it requires more zip files. In other words, make sure that the order of files in the split archives exactly matches the order of files as they appear in the original archive; do not "shuffle them around" when splitting them up.
-h
Display a help message, and exit.
-v
Display version information, and exit.
-L
Display software licensing information, and exit.
Limitations
zipsplit does not support splitting archives that are larger than 2 gigabytes.
zipsplit offers very little control over how it decides to split up your archive. If one of the files inside your archive is very large, you may not be able to split the archive at all, because zipsplit cannot span a single archived file across multiple zipfiles.
The default maximum size of a split file is approximately 36 kilobytes, which by modern standards is very small. If you want or need to create splits larger than 36 Kb, you must specify a different maximum size using the -n option.
There is no convenient way to re-assemble a set of split zip archives into a single unified archive. Concatenating them manually and then "fixing" the concatenated file with zip's -FF option is possible, however. For example, if your split files are named archive01.zip, archive02.zip, etc. you could concatenate them into a new file, whole.zip, with the command:
cat archive*.zip > whole.zip
...and then "fix" whole.zip (re-build its index), using the command:
zip -FF whole.zip --out fixed.zip
...which would leave you with a re-assembled archive named fixed.zip.