<p> From Mac</p>
<ol>
<li><p>Open terminal</p>
</li>
<li><p>Go to the folder where the blocks are. In this
case Bitcoin's folder (it's the same for other bitcoin forks)</p>
<p><code>cd &quot;/Library/Application Support/Bitcoin/blocks/&quot;</code></p>
</li>
<li><p>Run this code that will concatenate all the blk files. In this case there are 4 so you would do:</p>
<p><code>cat blk00000.dat blk00001.dat blk00002.dat blk00003.dat blk00004.dat &gt; bootstrap.dat</code></p>
<p>You can also use the * wildcard to insert them all onto the bootstrap file, or a determined range delimited by the wildcard. Like:</p>
<p><code>cat blk0****.dat  &gt; bootstrap.dat</code></p>
</li>
<li><p>Done.</p>
</li>
</ol>

CC BY-SA 4.0
2015-05-12T06:52:20.967Z
2021-03-12T00:12:03.403Z
2021-03-12T00:12:03.403Z
David Lopez
<p>Since van der Woerdt's answer in first question you link to indicates you can simply concatenate the blk files, you can open a DOS window (if your using windows), then type</p>

<pre><code>CD C:\Users\&lt;my_user&gt;\AppData\Roaming\DogeCoin
</code></pre>

<p>(if you're on Win7+)</p>

<p>And then</p>

<pre><code>COPY /b blk0001.dat+blk0002.dat bootstrap.dat
</code></pre>

<p>And that would be it!</p>

CC BY-SA 3.0
2014-03-05T20:38:26.847Z
Well I didn't knew exactly what he means by "concatenating", but if it is that easy then it's awesome! thanks a lot, I'll give it a try!
nobody
CC BY-SA 3.0
2015-02-10T16:08:27.327Z
Why there aren't downloads available for this? It's a waste of connections syncing over network.
m3nda
CC BY-SA 3.0
2015-05-12T08:05:48.667Z
@nobody: "To concatenate" means to attach sequentially after one another.
Murch
CC BY-SA 3.0
2014-03-05T12:55:31.560Z
2014-03-05T12:55:31.560Z
Joe Pineda
<p>I want to create a new bootstrap.dat file for a Dogecoin. How do this kind of files are created and how can I create one? What tools should I use? any answers/links/references are appreciated. I have searched here, but I haven't found any satisfying answer. I saw this post: <a href="https://bitcoin.stackexchange.com/questions/10381/creating-my-own-bootstrap-dat">Creating my own bootstrap.dat</a> but there is no method mentioned of putting the block in the bootstrap.dat file. Saw this post too: <a href="https://bitcoin.stackexchange.com/questions/18568/how-do-you-generate-a-bootstrap-dat-file">How do you generate a bootstrap.dat file?</a> but the tools mentioned are for Bitcoin and I'm not sure how to use them.... can anyone create a more explicit, step-by-step tutorial for doing this? something that anyone can understand? thanks in advance!</p>

CC BY-SA 3.0
2014-03-05T12:50:10.133Z
First of all, a valid blockchain. If you don't have one, you may get a headstart downloading the archive gratiously posted here: http://www.reddit.com/r/dogecoin/comments/1ug62i/valid_blockchain_files_syncs_to_correct_chain/
Joe Pineda
<blockchain><altcoin><dogecoin><bootstrap.dat>
How to create a bootstrap.dat file?
nobody
# How to create a bootstrap.dat file?

(Asked by: username_0 on 2014-03-05)

I want to create a new bootstrap.dat file for a Dogecoin. How do this kind of files are created and how can I create one? What tools should I use? any answers/links/references are appreciated. I have searched here, but I haven't found any satisfying answer. I saw this post: [Creating my own bootstrap.dat](https://bitcoin.stackexchange.com/questions/10381/creating-my-own-bootstrap-dat) but there is no method mentioned of putting the block in the bootstrap.dat file. Saw this post too: [How do you generate a bootstrap.dat file?](https://bitcoin.stackexchange.com/questions/18568/how-do-you-generate-a-bootstrap-dat-file) but the tools mentioned are for Bitcoin and I'm not sure how to use them.... can anyone create a more explicit, step-by-step tutorial for doing this? something that anyone can understand? thanks in advance!

**Tags:** blockchain, altcoin, dogecoin, bootstrap.dat

> **Comments:**
> **username_1**: First of all, a valid blockchain. If you don't have one, you may get a headstart downloading the archive gratiously posted here: http://www.reddit.com/r/dogecoin/comments/1ug62i/valid_blockchain_files_syncs_to_correct_chain/  

---

## 2 answers

### Answer by username_1 on 2014-03-05. Score: 5 | Accepted answer

Since van der Woerdt's answer in first question you link to indicates you can simply concatenate the blk files, you can open a DOS window (if your using windows), then type
CD C:\Users\\AppData\Roaming\DogeCoin

(if you're on Win7+)
And then
COPY /b blk0001.dat+blk0002.dat bootstrap.dat

And that would be it!

> **Comments:**
> **username_0**: Well I didn't knew exactly what he means by "concatenating", but if it is that easy then it's awesome! thanks a lot, I'll give it a try!  
> **username_3**: Why there aren't downloads available for this? It's a waste of connections syncing over network.  
> **username_4**: @username_0: "To concatenate" means to attach sequentially after one another.  

---

### Answer by username_2 on 2015-05-12. Score: 3

 From Mac

1. Open terminal
2. Go to the folder where the blocks are. In this
   case Bitcoin's folder (it's the same for other bitcoin forks)

   `cd "/Library/Application Support/Bitcoin/blocks/"`
3. Run this code that will concatenate all the blk files. In this case there are 4 so you would do:

   `cat blk00000.dat blk00001.dat blk00002.dat blk00003.dat blk00004.dat > bootstrap.dat`

   You can also use the \* wildcard to insert them all onto the bootstrap file, or a determined range delimited by the wildcard. Like:

   `cat blk0****.dat > bootstrap.dat`
4. Done.


---

