_ _ _ _ _ _
| | (_|_) | (_) |
| | ___ _ _| | ___| |
| |/ _ \| | | |/ / | |
| | (_) | | | <| | |
|_|\___/| |_|_|\_\_|_|
_/ |
|__/
purveyors of fine, internet-related kipple since 1985.
. » p » misc » sysadmin » split-zips.txt
Splitting and Splicing Zip files from the CLI
This is from this SuperUser question. Basically:
- To split:
zip -s 100m -x "*.DS_Store" -r split-foo.zip foo/
where 100m
is the size to split on.
- To splice:
zip -s 0 split-foo.zip --out unsplit-foo.zip
, which can then be unzipped normally: unzip unsplit-foo.zip
Super useful (and something I didn't know, but had to figure out since I had to split zips for a client to email...).
Home |
About |
Blag |
Lojikil's Programmer Notebook |
Projects |
Twitter |
Github |
BitBucket