Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uplink mv cannot rename a bucket #89

Open
AlexeyALeonov opened this issue Mar 17, 2022 · 3 comments
Open

uplink mv cannot rename a bucket #89

AlexeyALeonov opened this issue Mar 17, 2022 · 3 comments

Comments

@AlexeyALeonov
Copy link
Contributor

Current

$ uplink ls
BKT 2022-03-17 23:29:16 video

$ uplink mv sj://video sj://audio
destination is a directory and cannot find base name for source "sj://video/"
        main.(*cmdMv).Execute:108
        main.(*external).Wrap:123
        github.com/zeebo/clingy.(*Environment).dispatchDesc:126
        github.com/zeebo/clingy.(*Environment).dispatch:53
        github.com/zeebo/clingy.Environment.Run:34
        main.main:25
        runtime.main:255

Expected:

$ uplink mv sj://video sj://audio
$ uplink ls
BKT 2022-03-17 23:29:16 audio
@mniewrzal
Copy link
Contributor

@AlexeyALeonov could you try uplink mv sj://video sj://audio --recursive or uplink mv sj://video/ sj://audio/ --recursive? If it will work we may just need to improve messaging only.

@AlexeyALeonov
Copy link
Contributor Author

It cannot rename a bucket. What you suggest requires to create a destination bucket and this is would be move of objects from one bucket to another.

@mniewrzal
Copy link
Contributor

Now i understand, thanks. We never had functionality to rename bucket and i don't think we will have in near future. ATM we may just return message about not supporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants