Author

Topic: Delete BItcoin Core software on Mac via Terminal (Read 134 times)

legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
September 15, 2022, 12:46:43 AM
#6
--snip--

That will remove the bitcoin folder, but is important to remember that we have a bitcoin hidden folder with the configuration and the blocks file. That folder is on our home folder and to delete it we can use:

Code:
rm -rf .bitcoin

Or if we want to do it outside the folder we can use:

Code:
rm -rf ~/.bitcoin

If we don't delete that folder, the next time we install bitcoin and run it, it will keep the old configuration.

100% correct, but i assumed the OP didn't yet run bitcoind. But you are correct, i should have asked if he did already.
@OP: if you ran bitcoind, you have to follow seoincorporation's advice aswell (unless you ran bitcoind and sent funds to this wallet), if you did not run bitcoind my initial advice was sufficient.

EDIT: if you ran bitcoind, it never hurts to copy your wallet.dat BEFORE deleting ~/.bitcoin, it's always a good idear to keep any wallet you ever created in your archive... You never know if you passed along an address generated by a wallet.
legendary
Activity: 3346
Merit: 3125
I'm not a mac user myself, but i assume it's exactly the same as on other *nix systems.
First make sure you're in the correct folder:
Code:
ls -ltrh *bitcoin*

The output should show the bitcoin folder you cloned, verify the timestamp!

IF you see the folder listed AND it's timestamp corresponds to the time where you cloned bitcoin AND you're completely sure you want to delete the folder, execute:
Code:
rm -Rf bitcoin/

Now, a word to the wise: it's imperative you add the folder you want to delete at the end of this command (in this case bitcoin/)... rm is extremely powerfull, especially when executed as root...

That will remove the bitcoin folder, but is important to remember that we have a bitcoin hidden folder with the configuration and the blocks file. That folder is on our home folder and to delete it we can use:

Code:
rm -rf .bitcoin

Or if we want to do it outside the folder we can use:

Code:
rm -rf ~/.bitcoin

If we don't delete that folder, the next time we install bitcoin and run it, it will keep the old configuration.
legendary
Activity: 2170
Merit: 1789
If I'm not wrong, in general, it will clone the content to your current active directory if you don't specify a path. This[1] might also help if you want to know more or redirect where you want to clone your files.
[be]
[1] https://stackoverflow.com/questions/3849577/change-git-repository-download-path-on-mac
newbie
Activity: 14
Merit: 3
Thank you!
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
Hello,

I am relatively new. I just cloned the bitcoin core software via
Code:
git clone https://github.com/bitcoin/bitcoin.git
in my MAC terminal. Where do I find all the packages and data related to this download in my Finder? I want to delete this whole download again. Or is there a command how I can delete all the data via a command in the Terminal? Thanks for your help.
Best,

I'm not a mac user myself, but i assume it's exactly the same as on other *nix systems.
First make sure you're in the correct folder:
Code:
ls -ltrh *bitcoin*

The output should show the bitcoin folder you cloned, verify the timestamp!

IF you see the folder listed AND it's timestamp corresponds to the time where you cloned bitcoin AND you're completely sure you want to delete the folder, execute:
Code:
rm -Rf bitcoin/

Now, a word to the wise: it's imperative you add the folder you want to delete at the end of this command (in this case bitcoin/)... rm is extremely powerfull, especially when executed as root...
newbie
Activity: 14
Merit: 3
Hello,

I am relatively new. I just cloned the bitcoin core software via
Code:
git clone https://github.com/bitcoin/bitcoin.git
in my MAC terminal. Where do I find all the packages and data related to this download in my Finder? I want to delete this whole download again. Or is there a command how I can delete all the data via a command in the Terminal? Thanks for your help.
Best,
Jump to: