snipt

Ctrl+h for KB shortcuts

Bash

upgrade wordpress

svn sw http://svn.automattic.com/wordpress/tags/3.8.1 .
https://snipt.net/embed/24a58163b95102f4efd1ca8501b22329/
/raw/24a58163b95102f4efd1ca8501b22329/
24a58163b95102f4efd1ca8501b22329
bash
Bash
1
2019-07-15T13:48:54
True
False
False
/api/public/snipt/836/
upgrade-wordpress
<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 sw http://svn.automattic.com/wordpress/tags/3.8.1 . </span></pre></div> </td></tr></table>
server, svn, wordpress

Bash

Add all files marked as '?'

svn status |grep '^?' |sed 's/^?      /svn add "/g' |sed 's/$/"/g' |sh
https://snipt.net/embed/f9f5bfa0d39c724b60f27b7dda0a0650/
/raw/f9f5bfa0d39c724b60f27b7dda0a0650/
f9f5bfa0d39c724b60f27b7dda0a0650
bash
Bash
1
2019-07-06T05:05:01
True
False
False
/api/public/snipt/209/
add-all-files-marked-as
<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 add &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>
svn

Bash

Delete all files marked as '!'

svn status |grep '^!' |sed 's/^!      /svn delete "/g' |sed 's/$/"/g' |sh
https://snipt.net/embed/38bb1c28d1998e0357ef01c799027a61/
/raw/38bb1c28d1998e0357ef01c799027a61/
38bb1c28d1998e0357ef01c799027a61
bash
Bash
1
2019-07-10T18:01:42
True
False
False
/api/public/snipt/208/
delete-all-files-marked-as
<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>
svn

Bash

svn ignore (recursive)

svn propset -R svn:ignore -F .svnignore ./
https://snipt.net/embed/fa22beb59ff8fe92891e5cb4934a7dac/
/raw/fa22beb59ff8fe92891e5cb4934a7dac/
fa22beb59ff8fe92891e5cb4934a7dac
bash
Bash
1
2019-07-13T10:17:53
True
False
False
/api/public/snipt/27/
svn-ignore-recursive
<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 propset -R svn:ignore -F .svnignore ./ </span></pre></div> </td></tr></table>
svn