uplink
uplink copied to clipboard
uplink mv cannot rename a bucket
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
@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.
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.
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.