Author

Topic: Relocating Wallet Block Data (Read 1159 times)

hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
August 02, 2014, 07:34:52 PM
#15
How do i do it on my mac. that works for windows.
From what I've found the easiest way is to create a script.  Open terminal and type:
Code:
nano bitcoin.command
then add the code
Code:
#! /bin/bash
open /path/to/BitcoinCore.app -datadir=/path/to/new/directory
Hit control+x, then y, then return. (Exit, save file, confirm filename)
Run
Code:
chmod 711 bitcoin.command

Now you can run Bitcoin Core with the datadir option by double clicking on the bitcoin.command file.
member
Activity: 78
Merit: 10
August 02, 2014, 06:03:52 PM
#14
I just did this on the windows side of my computer for a new coin (signature coin) that dosent have a mac wallet yet and it was soon freeking easy, lol. Your tips for that were spot on.

id still prefer to maintain this all through my mac. how can i get the -datadir= function into an alias on a mac.
member
Activity: 78
Merit: 10
August 02, 2014, 05:39:48 PM
#13
How do i do it on my mac. that works for windows.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
August 02, 2014, 05:21:17 PM
#12
Right-click on the shortcut you want to edit then left-click "properties".
member
Activity: 78
Merit: 10
August 02, 2014, 03:57:45 PM
#11
How do get to a spot where i can even edit that?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
August 02, 2014, 03:12:29 PM
#10
-snip-
i will try creating the alias. so it will be like a modified shortcut correct?

Yes

When u say behind it what do you mean?

Well Mac is not my cup of tea. I usually can do what I want with it when Im in front of it, but its more a trial and error Wink

With Win a shortcut would be like this (note: random picture from the web)



But since most of your wallets would be installed in Program Files which has a space there are quotationmarks around the path.

Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe"

So for bitcoin-qt and Win (at least 7) youd have to change this to:

Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -datadir=d:\bitcoin

behind the normal path and file and after the ending quotationmark.

With Mac this should work similarly, only that your path would be different and that mac is not using .exe files.
member
Activity: 78
Merit: 10
August 02, 2014, 01:17:56 PM
#9
When u say behind it what do you mean?
member
Activity: 78
Merit: 10
August 02, 2014, 12:45:10 PM
#8
I actually use both, i prefer to do things through my mac, however i do have 2 win 8 rigs i could piggyback off of for wallet, and i also run win 8.1 pro on my mac through parallels. the amount of stuff my mac runs and isn't even bogged down a bit is very impressive.

i will try creating the alias. so it will be like a modified shortcut correct?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
August 02, 2014, 12:18:03 PM
#7
im familiar with terminal a bit, i use it to overlock and a few other things but by no means am i proficient yet

well terminal would be just to naviagte into the directory with cd ..
and run with bitcoin-qt.exe -datadir=d:\bitcoin
etc.

Im currently checking how to edit the shortcut (at least for bitcoin), but the other machine needs updates and is a bit slow etc. Wink


Edit: aaah just realized you use Mac...  well the Win7 machine is up to date now Wink

Edit2: Not sure how to change it there, its called 'alias' AFAIK. The external HDD would be under /Volumes/NameOfHDD so you need to change the alias that is currently running each QT and add -datadir=/Volumes/NameOfHDD/NameOfCoin/ behind it.
member
Activity: 78
Merit: 10
August 02, 2014, 12:13:44 PM
#6
im familiar with terminal a bit, i use it to overlock and a few other things but by no means am i proficient yet
member
Activity: 78
Merit: 10
August 02, 2014, 11:26:31 AM
#5
Im still learning a lot of this. how do i start the application while implementing the -datadir function
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
August 02, 2014, 09:56:13 AM
#4
Sorry for my lack of specificity, i hold about 7 different coins and i would like to move all of them not just one so i generalized.

what I'm trying to do is move the file folder that all the qt wallets make that it puts in the %appdata%/application support (depending on if you use mac or windows i use Mac) the folder that contains all the wallet .dat info and blockchain info.

Most walets default to put the info there but some wallets ask the first time you open them the ones hat ask where you want it put it where i want and it works beautifully the other i want to change so they are also on the external drive.

Since most wallets that have qt at the end are a modified version of bitcoin-qt my above solution should work. So youd start each client with -datadir=d:\coindata\bitcoin
-datadir=d:\coindata\altcoin1

etc.
member
Activity: 78
Merit: 10
August 02, 2014, 09:15:10 AM
#3
Sorry for my lack of specificity, i hold about 7 different coins and i would like to move all of them not just one so i generalized.

what I'm trying to do is move the file folder that all the qt wallets make that it puts in the %appdata%/application support (depending on if you use mac or windows i use Mac) the folder that contains all the wallet .dat info and blockchain info.

Most walets default to put the info there but some wallets ask the first time you open them the ones hat ask where you want it put it where i want and it works beautifully the other i want to change so they are also on the external drive.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
August 02, 2014, 03:26:38 AM
#2
How do you make it so that a coin wallet will store the wallet and blockchain info in a new/different location.

i am looking to store them on an external drive as my SSHD is not overly large i want to get some info off of it.

I know this is possible because wallets that ask where to do it like the bitcoin one work just fine running off of an external drive. how can i change this for wallets that don't ask.

I assume you are asking about bitcoin core.

-datadir=path?

https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments


On the other hand you say stuff like "a coin wallet" and "do it like the bitcoin one" ... meh, maybe you can be more precise.
member
Activity: 78
Merit: 10
August 01, 2014, 06:25:39 PM
#1
How do you make it so that a coin wallet will store the wallet and blockchain info in a new/different location.

i am looking to store them on an external drive as my SSHD is not overly large i want to get some info off of it.

I know this is possible because wallets that ask where to do it like the bitcoin one work just fine running off of an external drive. how can i change this for wallets that don't ask.
Jump to: