Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created February 22, 2021 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/22f8be1802a79d2d739ed52c10dbfe2b to your computer and use it in GitHub Desktop.
Save recursivecodes/22f8be1802a79d2d739ed52c10dbfe2b to your computer and use it in GitHub Desktop.
bucket.sh
$ oci os bucket get --bucket-name my_new_bucket --region us-phoenix-1 \
> | jq '.data | {name: .name, createdOn: ."time-created"}’           
{
  "name": "my_new_bucket",
  "createdOn": "2021-02-02T14:00:30.676000+00:00"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment