How to move all files in a folder to HDFS
<p>if I:</p>

<pre><code>hadoop fs -put /home/huser/Downloads/Weather2/* hdfs://hname:9000/data/Weather
</code></pre>

<p>I will get</p>

<pre><code>put: unexpected URISyntaxException
</code></pre>

<p>and if I:</p>

<pre><code>hadoop fs -put /home/huser/Downloads/Weather2/ hdfs://hname:9000/data/Weather
</code></pre>

<p>this will move all the files in Weather2 folder and the folder itself to <code>hdfs://hname:9000/data/Weather</code>. </p>

<p>What I want is to move just the files inside Weather2 to <code>hdfs://hname:9000/data/Weather</code> and not the Weather2 folder as folder</p>