Bitcoin Forum
May 06, 2024, 08:18:30 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Delete BItcoin Core software on Mac via Terminal  (Read 104 times)
uxBLN01 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 3


View Profile
September 13, 2022, 08:04:34 AM
 #1

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,
1714983510
Hero Member
*
Offline Offline

Posts: 1714983510

View Profile Personal Message (Offline)

Ignore
1714983510
Reply with quote  #2

1714983510
Report to moderator
1714983510
Hero Member
*
Offline Offline

Posts: 1714983510

View Profile Personal Message (Offline)

Ignore
1714983510
Reply with quote  #2

1714983510
Report to moderator
1714983510
Hero Member
*
Offline Offline

Posts: 1714983510

View Profile Personal Message (Offline)

Ignore
1714983510
Reply with quote  #2

1714983510
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714983510
Hero Member
*
Offline Offline

Posts: 1714983510

View Profile Personal Message (Offline)

Ignore
1714983510
Reply with quote  #2

1714983510
Report to moderator
1714983510
Hero Member
*
Offline Offline

Posts: 1714983510

View Profile Personal Message (Offline)

Ignore
1714983510
Reply with quote  #2

1714983510
Report to moderator
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
September 13, 2022, 08:08:15 AM
 #2

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...

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
uxBLN01 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 3


View Profile
September 13, 2022, 08:13:06 AM
 #3

Thank you!
joniboini
Legendary
*
Offline Offline

Activity: 2184
Merit: 1792



View Profile WWW
September 13, 2022, 09:34:39 AM
 #4

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

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
seoincorporation
Legendary
*
Offline Offline

Activity: 3150
Merit: 2930


Top Crypto Casino


View Profile
September 14, 2022, 03:15:07 PM
 #5

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4919


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
September 15, 2022, 05:46:43 AM
Last edit: September 15, 2022, 06:21:38 AM by mocacinno
 #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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!