user22: I know that Bitcoin supports the -datadir command line option which specifies that the wallet.dat and blockchain should be stored in a custom location rather than %appdata%\roaming\bitcoin but is there a way to specify a wallet location without also changing the blockchain location? I have a highly secured spot I'd like to stash my wallet.dat in (permanently) but I don't want to stash ~2GB of blockchain data alongside it.

user153: A symlink will do it on Linux.
On Windows there's a symbolic link method as well:

http://en.wikipedia.org/wiki/Symbolic_link#Windows_7_.26_Vista_symbolic_link

A -walletdir= feature has been requested before:

http://bitcointalk.org/?topic=2730.0
https://github.com/bitcoin/bitcoin/issues/68


22: <p>I know that Bitcoin supports the <code>-datadir</code> command line option which specifies that the wallet.dat and blockchain should be stored in a custom location rather than <code>%appdata%\roaming\bitcoin</code> but is there a way to specify a wallet location without also changing the blockchain location? I have a highly secured spot I'd like to stash my wallet.dat in (permanently) but I don't want to stash ~2GB of blockchain data alongside it.</p>
 153: <p>A symlink will do it on Linux.</p>

<p>On Windows there's a symbolic link method as well:</p>

<ul>
<li><a href="http://en.wikipedia.org/wiki/Symbolic_link#Windows_7_.26_Vista_symbolic_link" rel="nofollow">http://en.wikipedia.org/wiki/Symbolic_link#Windows_7_.26_Vista_symbolic_link</a></li>
</ul>

<p>A -walletdir= feature has been requested before:</p>

<ul>
<li><a href="http://bitcointalk.org/?topic=2730.0" rel="nofollow">http://bitcointalk.org/?topic=2730.0</a></li>
<li><a href="https://github.com/bitcoin/bitcoin/issues/68" rel="nofollow">https://github.com/bitcoin/bitcoin/issues/68</a></li>
</ul>
