How to set default value for empty CSV fields when using mongoimport
<p>Is there anyway to specify default values for empty cells when using <code>mongoimport</code> to import a CSV file.</p>

<p>I import CSV data like this:</p>

<pre><code>usename,password,salt
xxx@ss.com,12345,,
xxx@ss.com,asdf,,
xxx@ss.com,ads,,
</code></pre>

<p>but I want to set <code>salt</code> to some default value like <code>saltdefault</code>.<br>
How can I achieve that with <code>mongoimport</code>, or do you have some other way to realize it?</p>