snipt

Ctrl+h for KB shortcuts

Bash

Extract a multi-part zip file

1
2
3
$ cat zipfiles.* > zipfiles-full.zip
$ zip -F zipfiles-full.zip
$ unzip zipfiles-full.zip
https://snipt.net/embed/5cb9bad6057ffc3dfb7599fa4671c5e9/
/raw/5cb9bad6057ffc3dfb7599fa4671c5e9/
5cb9bad6057ffc3dfb7599fa4671c5e9
bash
Bash
3
2019-07-04T22:41:01
True
False
False
/api/public/snipt/24638/
extract-a-multi-part-zip-file
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ cat zipfiles.* &gt; zipfiles-full.zip </span><span id="L-2"><a name="L-2"></a>$ zip -F zipfiles-full.zip </span><span id="L-3"><a name="L-3"></a>$ unzip zipfiles-full.zip </span></pre></div> </td></tr></table>
bash, zip