user40272: I am trying to change the data directory used by bitcoind and I am uder the impression that the command -datadir was removed as I can't find it with bitcoin-cli help, when I try to use it I get Too few parameters and bitcoin-cli help datadir says datadir doesn't exist. I need to specify a directory that is not on the root partition, how to do it ?
Also why bitcoin core is so user unfriendly, it's quite surprising I thought it was the main bitcoin program. It started downloading the blockchain on my root partition without me even being aware of it (just start bitcoind and it starts silently downloading).

user61424: If you would like to do this permanently create a ~/.bitcoin/bitcoin.conf file and include:
datadir=/your/path

user33314: you should use it like this bitcoin
bitcoind -datadir=/your/external/path

Hope this helps!

40272: <p>I am trying to change the data directory used by <code>bitcoind</code> and I am uder the impression that the command <code>-datadir</code> was removed as I can't find it with <code>bitcoin-cli help</code>, when I try to use it I get <code>Too few parameters</code> and <code>bitcoin-cli help datadir</code> says datadir doesn't exist. I need to specify a directory that is not on the root partition, how to do it ?</p>

<p>Also why bitcoin core is so user unfriendly, it's quite surprising I thought it was the main bitcoin program. It started downloading the blockchain on my root partition without me even being aware of it (just start bitcoind and it starts silently downloading).</p>
 61424: <p>If you would like to do this permanently create a <code>~/.bitcoin/bitcoin.conf</code> file and include:</p>

<p><code>datadir=/your/path</code></p>
 33314: <p>you should use it like this bitcoin</p>

<pre><code>bitcoind -datadir=/your/external/path
</code></pre>

<p>Hope this helps!</p>
