dropbox / dbxcli

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

Unclear copy error using cp #137

Open jpgard opened 4 years ago

jpgard commented 4 years ago

I'm trying to copy a directory containing several large files from my dropbox to a server. I can see the directory, and its contents, when using ls. However, running the cp command produces output that isn't helpful; in fact I have no idea what the error is or whether this may be a bug with dbxcli, my command, or my dropbox.

dbxcli cp /my-dropbox-folder .

Output:

Copy error: &{{/my-dropbox-folder /.//my-dropbox-folder} false false false}

What might be the issue here? Is there a way to make this error more informative?

jpgard commented 4 years ago

Actually, I see this is because I should have used the get command, not cp. Perhaps that could be more clearly flagged in the documentation.