Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: thrilos on October 21, 2017, 10:40:55 AM



Title: bitcoin core directory reset on mac
Post by: thrilos on October 21, 2017, 10:40:55 AM
Hello! how do i reset the directory path of bitcoin core on macos?

i accidentaly choose the entire folder of application support.....


Title: Re: bitcoin core directory reset on mac
Post by: AdolfinWolf on October 21, 2017, 12:07:49 PM
Hello! how do i reset the directory path of bitcoin core on macos?

i accidentaly choose the entire folder of application support.....

I'm not an expert on macos, but isn't that like any other generic path, so something like this;


Quote


   1. echo $PATH and copy it's value
   2. export PATH=""
   3. export PATH="/path/you/want/to/keep"
https://stackoverflow.com/questions/15872666/how-to-remove-entry-from-path-on-mac

Then readd it with the right path to bitcoin Core? What version of MacOS are you using?

If this isn't fixing it, maybe reset your $PATH in general and readd the right bitcoin core  directory??



Title: Re: bitcoin core directory reset on mac
Post by: achow101 on October 21, 2017, 04:50:57 PM
Start Bitcoin Core with the -choosedatadir option. You can either start it from the terminal (not sure how you do that on Macs) or add choosedatadir=1 to your bitcoin.conf file. If you add it to your bitcoin.conf file, you will want to remove it later and delete the bitcoin.conf file from your Application Support folder. Once Bitcoin Core has started with that option, you will be given a dialog to choose your datadir again.