user21523: I would like to generate a Bitcoin and Dogecoin (qt) bootstrap file on my ubuntu machine. Is there any way to do this? I know it's possible with Windows but I'm on Ubuntu.
Thanks.

user18611: Find your local blockchain:
cd ~/.bitcoin/blocks

Or, to bootstrap testnet, find your local testnet blockchain:
cd ~/.bitcoin/testnet3/blocks

Concatenate all your blkxxxxx.dat files and place the result in bootstrap.dat:
cat blk* > bootstrap.dat

Warning: Using tar -cf (as instructed by this answer) did not work for me.  I'm importing from bitcoind into btcd.

21523: <p>I would like to generate a Bitcoin and Dogecoin (qt) bootstrap file on my ubuntu machine. Is there any way to do this? I know it's possible with Windows but I'm on Ubuntu.
Thanks.</p>
 18611: <p>Find your local blockchain:</p>

<pre><code>cd ~/.bitcoin/blocks
</code></pre>

<p>Or, to bootstrap testnet, find your local testnet blockchain:</p>

<pre><code>cd ~/.bitcoin/testnet3/blocks
</code></pre>

<p>Concatenate all your <code>blkxxxxx.dat</code> files and place the result in <code>bootstrap.dat</code>:</p>

<pre><code>cat blk* &gt; bootstrap.dat
</code></pre>

<p><strong>Warning:</strong> Using <code>tar -cf</code> (as instructed by <a href="https://bitcoin.stackexchange.com/a/34053/18611">this answer</a>) did not work for me.  I'm importing from bitcoind into <a href="https://github.com/conformal/btcd" rel="nofollow noreferrer">btcd</a>.</p>
