<p><a href="https://bitcointalk.org/index.php?topic=1763613.msg17612345#msg17612345" rel="nofollow noreferrer">This</a> and <a href="https://bitcoin.stackexchange.com/questions/47892/how-to-change-the-data-directory-with-bitcoin-cli">this</a> should be helpful.</p>
<p>You start Bitcoin Core with the <code>-datadir=&lt;path&gt;</code> option where <code>&lt;path&gt;</code> is the path to the datadir on your external drive.</p>
<p>You can put the path to the datadir in your bitcoin.conf file with <code>datadir=/your/path</code> if you don't want to have to always start Bitcoin Core with that datadir flag.</p>

CC BY-SA 4.0
2020-09-15T09:05:11.260Z
2020-09-15T09:05:11.260Z
Michael Folkson
<p>If about 5 GB is affordable for your laptop drive, you could still keep the datadir on it, and move the block storage only to the external drive by adding <code>blocksdir=/path/to/external/blocksdir</code> to your bitcoin.conf. This solution allows you to keep your wallets on your laptop drive using default wallet location. If your laptop drive is SSD, while external one is HDD, this approach will give additional performance benefit by keeping the chain state and the block index on SSD.</p>

CC BY-SA 4.0
2021-06-12T11:39:08.700Z
2021-06-12T11:39:08.700Z
hebasto
<p>I'd like to run Bitcoin Core but my laptop can't handle the load. I have an external drive with enough space, but I'm unsure if/how to change the file destination upon opening the program. Is this possible?</p>

CC BY-SA 4.0
2020-09-16T14:03:18.813Z
Hi, yes it is possible, you can easily find this information about Bitcoin Core on Google, and I'm pretty sure that Bitcoin Core will ask on first startup for data location. Besides, if you're a bit short on storage, I can also suggest you to prune the blockchain, you can trim it down to 550MB if you want (at the cost of some advances features becoming unusable though)
Sosthène
<bitcoin-core><synchronization>
Change IBD Location Prior to Download
Timothy Niemeyer
# Change IBD Location Prior to Download

(Asked by: username_0 on 2020-09-15)

I'd like to run Bitcoin Core but my laptop can't handle the load. I have an external drive with enough space, but I'm unsure if/how to change the file destination upon opening the program. Is this possible?

**Tags:** bitcoin-core, synchronization

> **Comments:**
> **username_1**: Hi, yes it is possible, you can easily find this information about Bitcoin Core on Google, and I'm pretty sure that Bitcoin Core will ask on first startup for data location. Besides, if you're a bit short on storage, I can also suggest you to prune the blockchain, you can trim it down to 550MB if you want (at the cost of some advances features becoming unusable though)  

---

## 2 answers

### Answer by username_2 on 2020-09-15. Score: 1

[This](https://bitcointalk.org/index.php?topic=1763613.msg17612345#msg17612345) and [this](https://bitcoin.stackexchange.com/questions/47892/how-to-change-the-data-directory-with-bitcoin-cli) should be helpful.

You start Bitcoin Core with the `-datadir=<path>` option where `<path>` is the path to the datadir on your external drive.

You can put the path to the datadir in your bitcoin.conf file with `datadir=/your/path` if you don't want to have to always start Bitcoin Core with that datadir flag.


---

### Answer by username_3 on 2021-06-12. Score: 1

If about 5 GB is affordable for your laptop drive, you could still keep the datadir on it, and move the block storage only to the external drive by adding `blocksdir=/path/to/external/blocksdir` to your bitcoin.conf. This solution allows you to keep your wallets on your laptop drive using default wallet location. If your laptop drive is SSD, while external one is HDD, this approach will give additional performance benefit by keeping the chain state and the block index on SSD.


---

