Closed charignon closed 7 years ago
So we are good to go with this PR?
@charignon I added some more comments. FYI I pushed some major changes to dbxcli as well as the Go SDK, so you'll have to rebase regardless of how we proceed. Sorry about that!
Since #43 was merged, this can be closed.
The --force
flag to rm
should handle this now, so closing the PR. Feel free to file an issue if needed.
I tested with the following folder/file structure, Junk and Junk2 are folders, aa and aaa are files:
Junk ├── Junk2 │ └── aaa └── aa
./dbxcli rm Junk # Refuses to remove a folder Error: rm: cannot remove ‘/Junk’: Is a directory
./dbxcli rm -r Junk # Works and remove the folder recursively