title: Linux command to move a directory
body: <p>My old and new directory have same folders and files inside.</p>
  
  <p>I try:</p>
  
  <pre><code>mv -if old/* new/*
  </code></pre>
  
  <p>and get error</p>
  
  <blockquote>
    <p>mv: cannot move `./xxxxxx' to a subdirectory of itself</p>
  </blockquote>
  
  <p>How can I move it?</p>