Bitcoin Forum
November 11, 2024, 06:56:00 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Rescanning with Mac/Terminal  (Read 3053 times)
lakzo (OP)
Member
**
Offline Offline

Activity: 168
Merit: 10



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.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


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


Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


lakzo (OP)
Member
**
Offline Offline

Activity: 168
Merit: 10



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
Merit: 250


View Profile
February 08, 2013, 08:05:12 PM
Last edit: February 08, 2013, 08:30:22 PM by SAC
 #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: 1498
Merit: 1000


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

You need to do,
Code:
$ ./Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -rescan
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!