title: Rename directory in hdfs
body: <p>I need to rename a directory in hdfs. What is the command for that ? </p>
  
  <pre><code>hadoop fs -mv &lt;src&gt; &lt;dest&gt; 
  </code></pre>
  
  <p>The above command moves the src folder into dest folder. Instead of, I want the <code>src</code> folder to be renamed as <code>dest</code>.</p>