<p>Run bitcoin with the flag</p>

<pre><code>-datadir=&lt;path to a directory&gt;
</code></pre>

CC BY-SA 3.0
2013-12-04T16:33:08.410Z
and this is gonna **move** the data files to desired path?
sterz
CC BY-SA 3.0
2013-12-04T17:04:37.383Z
No it will redownload if it's not already there. So you may want to move whatever you have to that path first. (while bitcoin-qt is NOT running).
Jannes
CC BY-SA 3.0
2013-12-04T15:52:27.423Z
2013-12-04T15:52:27.423Z
Dust
<p>I don't have much space on my / (~12GB) so I would like to install bitcoin-qt to some other drive with free space (since the data files will take around 10GB after synchronization). How do I do that?</p>

<bitcoin-core><linux>
Choose where to install bitcoin-qt (linux)
sterz
# Choose where to install bitcoin-qt (linux)

(Asked by: username_0 on 2013-12-04)

I don't have much space on my / (~12GB) so I would like to install bitcoin-qt to some other drive with free space (since the data files will take around 10GB after synchronization). How do I do that?

**Tags:** bitcoin-core, linux


---

## 1 answers

### Answer by username_1 on 2013-12-04. Score: 2 | Accepted answer

Run bitcoin with the flag
-datadir=

> **Comments:**
> **username_0**: and this is gonna **move** the data files to desired path?  
> **username_2**: No it will redownload if it's not already there. So you may want to move whatever you have to that path first. (while bitcoin-qt is NOT running).  

---

