oci-cli
oci-cli copied to clipboard
Please add --prefix to "os put" command
Hello,
I'm playing little bit with the CLI and it is somehow hard for me to understand why --prefix parameter is missing for oci os put
command. While I can use bulk-upload and prefix as suggested in #354, I find it quite strange that if I want to upload single file to bucket I don't have an option to specify "folder" (--prefix) to which this file should be uploaded.
Do you think that it would be possible?
You can simply add the prefix to the object name. For example:
oci os object put --name folder/myobject
will put "myobject" in the virtual "folder".