summaryrefslogtreecommitdiff
path: root/Content/posts/2019-12-08-Splitting-Zips.md
blob: 3e75f354108ecd8accc85b33970c57f9e1d49b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
date: 2019-12-08 13:27
description: Short code snippet for splitting zips.
readTime: 120
tags: Code-Snippet
---

# Splitting ZIPs into Multiple Parts

**Tested on macOS**

Creating the archive:

```Termcap
zip -r -s 5 oodlesofnoodles.zip website/
```

5 stands for each split files' size (in mb, kb and gb can also be specified)

For encrypting the zip:

```Termcap
zip -er -s 5 oodlesofnoodles.zip website
```

Extracting Files

First we need to collect all parts, then

```Termcap
zip -F oodlesofnoodles.zip --out merged.zip
```