# How to create a bootstrap.dat file? [duplicate]

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 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? 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!

## marked as duplicate by Murch♦May 12 '15 at 8:06

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\<my_user>\AppData\Roaming\DogeCoin


(if you're on Win7+)

And then

COPY /b blk0001.dat+blk0002.dat bootstrap.dat


And that would be it!

• 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 Mar 5 '14 at 20:38
• Why there aren't downloads available for this? It's a waste of connections syncing over network. – erm3nda Feb 10 '15 at 16:08
• @nobody: "To concatenate" means to attach sequentially after one another. – Murch May 12 '15 at 8:05

 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. Make sure to include all the numbered blocks you find on your Bitcoin's folder. In this case there are 4

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

4. Done.