title: Rename files using rename command in bash shell
body: <p>I have read other similar questions on the forum and I can't understand why the command I tried doesn't work.</p>
  
  <p>I have a list of files named in the form aaaa_100_aaaa.csv, aaaa_100_aaab.csv, aaaa_100_aaac.csv and so on, and I want to replace "100" with "200".</p>
  
  <p>I'm running bash in Windows PowerShell WSL. I tried with this command</p>
  
  <pre class="lang-sh prettyprint-override"><code> rename 's/420/410/g' *.csv
  
  </code></pre>
  
  <p>I found the same expression in many answers on the forum but it doesn't work. I got the error message </p>
  
  <pre><code>mv: target 'aaaa_100_aaaa.csv' is not a directory.
  </code></pre>