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

INSTALL

sudo apt install zip
copy
sudo dnf install zip
copy
sudo pacman -S zip
copy
sudo apk add zip
copy
sudo zypper install zip
copy
brew install zip
copy
nix profile install nixpkgs#zip
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid