Author

Topic: Rescanning with Mac/Terminal (Read 3055 times)

legendary
Activity: 1498
Merit: 1000
February 08, 2013, 03:37:32 PM
#5
You need to do,
Code:
$ ./Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -rescan
SAC
sr. member
Activity: 322
Merit: 250
February 08, 2013, 03: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.
member
Activity: 168
Merit: 10
February 08, 2013, 10:23:34 AM
#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 :/
legendary
Activity: 2506
Merit: 1010
February 08, 2013, 08:03:11 AM
#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

member
Activity: 168
Merit: 10
February 08, 2013, 01: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.
Jump to: