snipt

Ctrl+h for KB shortcuts

Bash

Rename files beginning with F (change as appropriate)

rename --no-act 's/^f//' f*
https://snipt.net/embed/37ccd47fc08540f67b762ecb573fe95d/
/raw/37ccd47fc08540f67b762ecb573fe95d/
37ccd47fc08540f67b762ecb573fe95d
bash
Bash
1
2019-07-23T16:22:00
True
False
False
/api/public/snipt/42508/
rename-files-beginning-with-f-change-as-appropriate
<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>rename --no-act <span class="s1">&#39;s/^f//&#39;</span> f* </span></pre></div> </td></tr></table>