dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Step 7 no longer valid? No file named root.go #160

Open maurera opened 3 years ago

maurera commented 3 years ago

I'm trying to run dbxcli on a Raspberry pi 4. I tried using the arm binary, but it doesn't seem to work. I'm now trying to build from source instead.

Step 7 of the build instructions in the Readme says

Replace the value for personalAppKey in root.go with the key from the webpage.

However, I don't see a file named root.go in the directory ~/go/src/github.com/dropbox/dbxcli. There are files main.go, go.mod, go.sum, etc.

If I skip this step and build, then I get the following error when trying to access the dropbox authentication webpage:

Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.

More details for developers
Invalid client_id: "mvhz183vwqibe7q".
maurera commented 3 years ago

Solved. root.go is in subfolder cmd. Step7 of the Readme should be updated to reflect this