From 5b2a67fe247496f3106db956964996f771160fc5 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 26 May 2021 23:58:29 +0530 Subject: added code and content --- Content/posts/2019-12-08-Splitting-Zips.md | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Content/posts/2019-12-08-Splitting-Zips.md (limited to 'Content/posts/2019-12-08-Splitting-Zips.md') 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 +``` -- cgit v1.2.3