title: how to rename an existing file with today's date
body: <p>I have a file <code>foo.c</code>. I want to rename it with today's date.<br>
  For example <code>foo1/10/14.c</code><br>
  I tried using </p>
  
  <pre><code> mv foo.c foo`date +%D`.c
  </code></pre>
  
  <p>but when i am doing it am getting an error </p>
  
  <pre><code>mv: cannot move `foo.c' to `foo01/10/14.c': No such file or directory
  </code></pre>
  
  <p>Maybe a script will do or some command in the terminal window. I'm using Linux(Ubuntu).</p>