Title: Delete BItcoin Core software on Mac via Terminal Post by: uxBLN01 on September 13, 2022, 08:04:34 AM Hello,
I am relatively new. I just cloned the bitcoin core software via Code: git clone https://github.com/bitcoin/bitcoin.git Best, Title: Re: Delete BItcoin Core software on Mac via Terminal Post by: mocacinno on September 13, 2022, 08:08:15 AM Hello, I am relatively new. I just cloned the bitcoin core software via Code: git clone https://github.com/bitcoin/bitcoin.git 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... Title: Re: Delete BItcoin Core software on Mac via Terminal Post by: uxBLN01 on September 13, 2022, 08:13:06 AM Thank you!
Title: Re: Delete BItcoin Core software on Mac via Terminal Post by: joniboini on September 13, 2022, 09:34:39 AM 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 Title: Re: Delete BItcoin Core software on Mac via Terminal Post by: seoincorporation on September 14, 2022, 03:15:07 PM 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. Title: Re: Delete BItcoin Core software on Mac via Terminal Post by: mocacinno on September 15, 2022, 05:46:43 AM --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. |