title: HDFS to HDFS move files force fully
body: <p>As per my knowledge, there is no straight option to overwrite the file in HDFS while doing a move from one HDFS location to other, copying <code>cp</code> has the option to force. I'm trying to find if there is any hack to do that? </p>
  
  <p>what we can do is <code>hdfs dfs -cp -f /hdfs/location1 /hdfs/location2</code> but not <code>hdfs dfs -mv -f /hdfs/location1/ /hdfs/location2/</code></p>
  
  <p>One way to achieve my purpose is to do the <code>hdfs dfs -cp -f /hdfs/location1 /hdfs/location2</code> first and then get rid of the location1 file with <code>hdfs dfs -rm -r /hdfs/location1</code> but I don't want to do that for some reason. Any other approach with one single command will be appriciated.</p>
  
  <p>thanks in advance !! </p>