snipt

Ctrl+h for KB shortcuts

Bash

Unzip all files at once

ls *.zip | xargs -n1 unzip
https://snipt.net/embed/11a8501e1b6eea0747b861cc9651ca5e/
/raw/11a8501e1b6eea0747b861cc9651ca5e/
11a8501e1b6eea0747b861cc9651ca5e
bash
Bash
1
2019-06-16T03:12:40
True
False
False
/api/public/snipt/2498/
unzip-all-files-at-once
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>ls *.zip <span class="p">|</span> xargs -n1 unzip </span></pre></div> </td></tr></table>
all, bash, unix, unzip