summaryrefslogtreecommitdiff
path: root/Content/posts/2019-12-08-Splitting-Zips.md
diff options
context:
space:
mode:
Diffstat (limited to 'Content/posts/2019-12-08-Splitting-Zips.md')
-rw-r--r--Content/posts/2019-12-08-Splitting-Zips.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/Content/posts/2019-12-08-Splitting-Zips.md b/Content/posts/2019-12-08-Splitting-Zips.md
new file mode 100644
index 0000000..926bcab
--- /dev/null
+++ b/Content/posts/2019-12-08-Splitting-Zips.md
@@ -0,0 +1,32 @@
+---
+date: 2019-12-08 13:27
+description: Short code snippet for splitting zips.
+readTime: 120
+tags: Code-Snippet, Tutorial
+---
+
+# 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
+```