dropbox / dbxcli

A command line client for Dropbox built using the Go SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

maurera opened this issue · comments

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".

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