summaryrefslogtreecommitdiff
path: root/Content/posts/2019-12-08-Splitting-Zips.md
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-05-26 23:58:29 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-05-26 23:58:29 +0530
commitbfd3a825c2d73bd842769cdfaf11ad0319a3bd6e (patch)
tree7b2c052bdf539f433ed3ab6bd133b6d46c7ff7e5 /Content/posts/2019-12-08-Splitting-Zips.md
parent2cb28c0dd749611e6edd4688955769bda3381453 (diff)
added code and content
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
+```