snipt

Ctrl+h for KB shortcuts

Bash

Remove all deleted files from svn

svn status | grep ! | cut -d " " -f 8 | xargs -n 1 svn rm --force
https://snipt.net/embed/0c8f5b88be56994040bac6e8682ffb79/
/raw/0c8f5b88be56994040bac6e8682ffb79/
0c8f5b88be56994040bac6e8682ffb79
bash
Bash
1
2019-06-26T18:38:42
True
False
False
/api/public/snipt/25517/
remove-all-deleted-files-from-svn
<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="p">|</span> cut -d <span class="s2">&quot; &quot;</span> -f <span class="m">8</span> <span class="p">|</span> xargs -n <span class="m">1</span> svn rm --force </span></pre></div> </td></tr></table>
svn, xargs