snipt

Ctrl+h for KB shortcuts

Bash

svn delete all files marked for deletion

svn status |grep '^!' |sed 's/^!      /svn delete "/g' |sed 's/$/"/g' |sh
https://snipt.net/embed/13be4cf6c9164f255653122f1f9bad8d/
/raw/13be4cf6c9164f255653122f1f9bad8d/
13be4cf6c9164f255653122f1f9bad8d
bash
Bash
1
2019-07-16T18:41:17
True
False
False
/api/public/snipt/69/
svn-delete-all-files-marked-for-deletion
<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>svn status <span class="p">|</span>grep <span class="s1">&#39;^!&#39;</span> <span class="p">|</span>sed <span class="s1">&#39;s/^! /svn delete &quot;/g&#39;</span> <span class="p">|</span>sed <span class="s1">&#39;s/$/&quot;/g&#39;</span> <span class="p">|</span>sh </span></pre></div> </td></tr></table>
subversion