Post
Topic
Board Bitcoin Technical Support
Re: can't open qt - need help - corrupted?
by
michagogo
on 08/01/2014, 12:13:48 UTC
When trying to salvage it, I've tried both commands both of you suggested, but it tells me command not found:

Code:
Bitcoin-Qt.app -salvagewallet
-bash: Bitcoin-Qt.app: command not found

Look at my message -- that command won't work, you want the following command:
Code:
open /Applications/Bitcoin-Qt.app --args -salvagewallet

This is because in OS X, applications are actually folders. Bitcoin-Qt.app isn't an executable, the executable itself is a few folders in, I don't remember the exact structure off the top of my head. The `open` command will look at it from OS X's perspective, and do what you want.