Bitcoin Forum
May 14, 2024, 10:17:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Rescanning with Mac/Terminal  (Read 3032 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.
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715681853
Hero Member
*
Offline Offline

Posts: 1715681853

View Profile Personal Message (Offline)

Ignore
1715681853
Reply with quote  #2

1715681853
Report to moderator
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!