<p>There should be a <code>.bitcoin</code> directory once you install bitcoind on your linux box. Copying those <code>.dat</code> files in this directory should enable bitcoind to read them directly.</p>

<p>Bitcoin-QT is actually using bitcoind under the hood. So it shouldn't be using different structure unless you're using different versions of bitcoind.</p>

<p>Edit: also reading more about <a href="https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments" rel="nofollow">bitcoind commands</a>, there's a command to import a file directly. So this should probably be better than directly placing the files in the directory:</p>

<p><code>bitcoind -loadblock=&lt;file&gt;</code>      <code>Imports blocks from external blk000??.dat file</code></p>

CC BY-SA 3.0
2014-02-04T21:30:27.940Z
There are a lot of those blk files though. Importing I'd have to do it one by one and that way it probably verifies them so it's slower. I'll try to copy directly to the folder I guess.
Ryan Detzel
CC BY-SA 3.0
2014-02-04T20:18:06.387Z
2014-02-04T20:33:51.693Z
2014-02-04T20:33:51.693Z
Luca Matteis
<p>If you concatenate all the blk files (in order) and put them in bootstrap.dat, and copy that over to ~/.bitcoin/ - then bitcoind will import it.</p>

CC BY-SA 3.0
2014-06-05T18:04:09.643Z
2014-06-05T21:03:03.980Z
2014-06-05T21:03:03.980Z
njaard
<p>I have a bunch of files like blk00110.dat now that bitcoin-qt (on my mac) has finally updated. I'd like to just move this over to my linux box so I can keep it up and running but the bitcoind program uses a different structure. How can I move this data?</p>

<bitcoind><bitcoin-core>
How can I move bitcoin-qt blockchain data to bitcoind daemon?
Ryan Detzel
# How can I move bitcoin-qt blockchain data to bitcoind daemon?

(Asked by: username_0 on 2014-02-04)

I have a bunch of files like blk00110.dat now that bitcoin-qt (on my mac) has finally updated. I'd like to just move this over to my linux box so I can keep it up and running but the bitcoind program uses a different structure. How can I move this data?

**Tags:** bitcoind, bitcoin-core


---

## 2 answers

### Answer by username_1 on 2014-02-04. Score: 1

There should be a `.bitcoin` directory once you install bitcoind on your linux box. Copying those `.dat` files in this directory should enable bitcoind to read them directly.

Bitcoin-QT is actually using bitcoind under the hood. So it shouldn't be using different structure unless you're using different versions of bitcoind.

Edit: also reading more about [bitcoind commands](https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments), there's a command to import a file directly. So this should probably be better than directly placing the files in the directory:

`bitcoind -loadblock=<file>` `Imports blocks from external blk000??.dat file`

> **Comments:**
> **username_0**: There are a lot of those blk files though. Importing I'd have to do it one by one and that way it probably verifies them so it's slower. I'll try to copy directly to the folder I guess.  

---

### Answer by username_2 on 2014-06-05. Score: 0

If you concatenate all the blk files (in order) and put them in bootstrap.dat, and copy that over to ~/.bitcoin/ - then bitcoind will import it.


---

