Title: changing bitcoin location from roaming (C drive) Post by: blo8i on April 26, 2015, 10:21:58 AM i am starting to run into some problems with my bitcoin client.
i only have 125GB space on my C drive that i am runnign my OS on. and by that all my roaming data, is also running there. i big part of that is my bitcoin client, in the following location. C:\Users\Thomas\AppData\Roaming\Bitcoin i was just wondering if i can change that, in any way. and still keep my wallets, as they are. any help is needed as it is using 34gb of space out of my only 125gb on that drive. Title: Re: changing bitcoin location from roaming (C drive) Post by: coinpr0n on April 26, 2015, 10:39:16 AM You have at least two options to do this, you will need to figure out what works for you. You can either specify a "datadir" as a command-line argument like:
Code: "C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -datadir=d:\BitCoinData Or in the bitcoin.conf file you can play with the variables datadir and choosedatadir (GUI dialog, let's you choose directory - I think). More info: Running Bitcoin (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) and Data Directory (https://en.bitcoin.it/wiki/Data_directory) on the Bitcoin wiki. Title: Re: changing bitcoin location from roaming (C drive) Post by: blo8i on April 26, 2015, 11:09:58 AM thanks for the quick help.
Title: Re: changing bitcoin location from roaming (C drive) Post by: shorena on April 26, 2015, 05:48:57 PM You have at least two options to do this, you will need to figure out what works for you. You can either specify a "datadir" as a command-line argument like: Code: "C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -datadir=d:\BitCoinData Or in the bitcoin.conf file you can play with the variables datadir and choosedatadir (GUI dialog, let's you choose directory - I think). More info: Running Bitcoin (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) and Data Directory (https://en.bitcoin.it/wiki/Data_directory) on the Bitcoin wiki. You should probably read before you suggest something that your source contradicts. Datadir can not be set in the config file because the config file is within the directory given by datadir. Quote The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, Bitcoin (or bitcoind) will look for a file named 'bitcoin.conf' in the bitcoin data directory, but both the data directory and the configuration file path may be changed using the -datadir and -conf command-line arguments. |