dropbox / dbxcli

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

Allow providing a directory as a destination for `get` #22

Closed waits closed 8 years ago

waits commented 8 years ago

Previously, running get with a directory as the destination argument would return an "is a directory" error message. Now it checks if dst is a directory before downloading and appends the filename if that's the case.

Rationale: Most file utilities allow specifying a directory as a destination for a file (e.g. sftp).

diwakergupta commented 8 years ago

Thanks!