Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Dan1320 on June 26, 2015, 02:25:43 AM



Title: Block Chain Download Location help
Post by: Dan1320 on June 26, 2015, 02:25:43 AM
What are the commands to Create a Dir to install the Binaries and create dir for Each coin when i want the directories and the coin block chains to be downloaded and created on and external drive that i am using that has considerable more space than the hard drive that Ubuntu and my mining pool is currently installed to
Currently the commands are
mkdir ~/bin
mkdir ~/.bitcoin
mkdir ~/.namecoin
mkdir ~/.ixcoin
mkdir ~/.devcoin


what changes do i need to make to those commands to have them created on the external drive
Thanks for any help
Daniel


Title: Re: Block Chain Download Location help
Post by: OmegaStarScream on June 26, 2015, 06:29:18 AM
I was just searching and found out that By default Bitcoin will put its data here: ~/.bitcoin/
Check here the bitcoin wiki (it contains all the informations about the blockchain path for each operating system) : https://en.bitcoin.it/wiki/Data_directory


Title: Re: Block Chain Download Location help
Post by: Muhammed Zakir on June 26, 2015, 11:20:56 AM
 • Go to /usr/share/applications.
 • Right click on the Bitcoin file, then select the "Copy" option.
 • Right click on the desktop and select "Paste".
 • Right click this shortcut, select "Properties" and replace the command field with bitcoin-qt -datadir=path, where path is the fully qualified path to the new data directory.
 • Double clicking the resulting shortcut starts Bitcoin Core with the custom data directory.

Another way:

 • Open file browser.
 • Select View -> Show Hidden Files menu option.
 • Close Bitcoin Core if it is running.
 • Copy the default .bitcoin folder to new directory(here, external drive).
 • Rename default folder .bitcoin to something else. Eg:- bitcoin-old.
 • Open Bitcoin Core.
 • A window[1] appears asking you to choose a location. Choose Use a custom data directory option.
 • Type the path to new directory in the field or click the ... button to point to the new location and click OK.

[1]
http://bitzuma.com/images/posts/20150319/choose-data-directory.png

Source: http://bitzuma.com/posts/moving-the-bitcoin-core-data-directory/.