Bitcoin Forum
November 19, 2017, 02:12:06 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Rescanning with Mac/Terminal  (Read 2801 times)
lakzo
Member
**
Offline Offline

Activity: 113



View Profile
February 08, 2013, 06:59:55 AM
 #1

Does anyone know the syntax for the command to rescan the block chain using OSX?  I know its something along the lines of:

open -a bitcoin-qt -rescan

but everytime I try to execute it like above I get this long menu of options.
1511057526
Hero Member
*
Offline Offline

Posts: 1511057526

View Profile Personal Message (Offline)

Ignore
1511057526
Reply with quote  #2

1511057526
Report to moderator
1511057526
Hero Member
*
Offline Offline

Posts: 1511057526

View Profile Personal Message (Offline)

Ignore
1511057526
Reply with quote  #2

1511057526
Report to moderator
A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511057526
Hero Member
*
Offline Offline

Posts: 1511057526

View Profile Personal Message (Offline)

Ignore
1511057526
Reply with quote  #2

1511057526
Report to moderator
1511057526
Hero Member
*
Offline Offline

Posts: 1511057526

View Profile Personal Message (Offline)

Ignore
1511057526
Reply with quote  #2

1511057526
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2310



View Profile
February 08, 2013, 01:03:11 PM
 #2

Does anyone know the syntax for the command to rescan the block chain using OSX?  I know its something along the lines of:

open -a bitcoin-qt -rescan

but everytime I try to execute it like above I get this long menu of options.

I'm not a Mac user, but it appears you would, from the command window, go to the data directory:
 - http://en.bitcoin.it/wiki/Data_directory#Mac


Code:
$ cd ~/Library/Application Support/Bitcoin/
$ ./bitcoin-qt -rescan


lakzo
Member
**
Offline Offline

Activity: 113



View Profile
February 08, 2013, 03:23:34 PM
 #3

Does anyone know the syntax for the command to rescan the block chain using OSX?  I know its something along the lines of:

open -a bitcoin-qt -rescan

but everytime I try to execute it like above I get this long menu of options.

I'm not a Mac user, but it appears you would, from the command window, go to the data directory:
 - http://en.bitcoin.it/wiki/Data_directory#Mac


Code:
$ cd ~/Library/Application Support/Bitcoin/
$ ./bitcoin-qt -rescan



Everytime I enter it into terminal it gives me the "no such file directory" message :/
SAC
Sr. Member
****
Offline Offline

Activity: 322


View Profile
February 08, 2013, 08:05:12 PM
 #4

Does anyone know the syntax for the command to rescan the block chain using OSX?  I know its something along the lines of:

open -a bitcoin-qt -rescan

but everytime I try to execute it like above I get this long menu of options.

I'm not a Mac user, but it appears you would, from the command window, go to the data directory:
 - http://en.bitcoin.it/wiki/Data_directory#Mac


Code:
$ cd ~/Library/Application Support/Bitcoin/
$ ./bitcoin-qt -rescan



Everytime I enter it into terminal it gives me the "no such file directory" message :/

No wonder binaries are always in the application bundle not the support directory.

Code:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt

Give the above a try or put the ~ in front if you put the app in your home /Applications directory.

Edit: And now I look the

Code:
cd ~/Library/Application Support/Bitcoin/


will fail every time because you have not escaped the space like so

Code:
cd ~/Library/Application\ Support/Bitcoin/

that will change you to a directory with a space in it.

Edit2: Unless you enjoy wasting your Time Machine backup space open its preferences and exclude everything in the ~/Library/Application Support/Bitcoin/ except your wallet.dat from being backed up, this saves you gb's of unnecessary backups all the time.
gweedo
Legendary
*
Offline Offline

Activity: 1246


Java, PHP, HTML/CSS Programmer for Hire!


View Profile WWW
February 08, 2013, 08:37:32 PM
 #5

You need to do,
Code:
$ ./Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -rescan

Want to earn 2500 SATOSHIS per hour? Come Chat and Chill in https://goseemybits.com/lobby
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!