title: Script for changing folders name doesnt work
body: <p>I am trying to change all folders names to lowercases from uppercase. Unfortunately I cant make it happen.I know how to change folders names but my pipes and script don't work.</p>
  
  <p>I made this script to work.</p>
  
  <pre><code>#!/bin/bash
  for i in *;
  do mv "$i" echo $i | awk '{print tolower($0)}'
  done
  </code></pre>
  
  <p>I know that when I do <code>mv "$i" "Z$i"</code> it would put <code>Z</code> in front of the others folders name.</p>