snipt

Ctrl+h for KB shortcuts

Bash

Remove all .svn folders on a directory

find . -type d -name .svn -exec rm -rf {} +
https://snipt.net/embed/8678ce1e40b2a0d9f56e824f8470f665/
/raw/8678ce1e40b2a0d9f56e824f8470f665/
8678ce1e40b2a0d9f56e824f8470f665
bash
Bash
1
2019-07-21T22:12:46
True
False
False
/api/public/snipt/39417/
remove-all-svn-folders-on-a-directory
<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>find . -type d -name .svn -exec rm -rf <span class="o">{}</span> + </span></pre></div> </td></tr></table>
bash, svn