LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zipsplit

Split ZIP archive into smaller parts

TLDR

Split archive
$ zipsplit [path/to/archive.zip]
copy
Split with size limit
$ zipsplit -n [size] [path/to/archive.zip]
copy
Pause between parts
$ zipsplit -p -n [size] [path/to/archive.zip]
copy
Output to directory
$ zipsplit -b [path/to/output_directory] -n [size] [path/to/archive.zip]
copy

SYNOPSIS

zipsplit [OPTIONS] ZIPFILE

DESCRIPTION

zipsplit splits a ZIP archive into smaller ZIP archives. The default size limit is 36000 bytes if not specified with -n.Output files are named with numeric suffixes based on the original filename.

PARAMETERS

-n SIZE

Maximum bytes per split archive
-p
Pause between creating each part
-b PATH
Output directory for split archives
-t
Report how many files would be created without actually creating them
-r ROOM
Leave room for extra bytes on the first disk (default: 0)
-s
Do a sequential split even if it takes more zip files
-i
Create an index file (zipsplit.idx) and count its size against the first zip file
-h
Show a short help message
-v
Show version information
-L
Show software license

CAVEATS

Individual files that exceed the size limit cannot be split across archives. All parts are needed to extract the complete archive contents.

SEE ALSO

zip(1), unzip(1), split(1), zipcloak(1), zipnote(1)

Copied to clipboard
Kai