HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

exo storage — Manage the Exoscale Simple Object Storage (SOS) service. More information: <https://community.exosca

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thesimplecommandexoscaleobjectclimanageexo storage

Problem

How to use the exo storage command: Manage the Exoscale Simple Object Storage (SOS) service. More information: <https://community.exoscale.com/product/storage/object-storage/>.

Solution

exo storage — Manage the Exoscale Simple Object Storage (SOS) service. More information: <https://community.exoscale.com/product/storage/object-storage/>.

Create a new SOS bucket:
exo storage mb {{bucket_name}}


Upload a file to a bucket:
exo storage put {{path/to/file}} {{bucket_name}}/{{prefix/}}


List the objects within a bucket:
exo storage ls {{bucket_name}}


Simulate the download of an object from a bucket:
exo storage get {{bucket_name}}/{{object_key}} {{local_path}} --dry-run


Manage the metadata of an object:
exo storage metadata add {{bucket_name}}/{{object_key}} {{key=value}}

Code Snippets

Create a new SOS bucket

exo storage mb {{bucket_name}}

Upload a file to a bucket

exo storage put {{path/to/file}} {{bucket_name}}/{{prefix/}}

List the objects within a bucket

exo storage ls {{bucket_name}}

Simulate the download of an object from a bucket

exo storage get {{bucket_name}}/{{object_key}} {{local_path}} --dry-run

Manage the metadata of an object

exo storage metadata add {{bucket_name}}/{{object_key}} {{key=value}}

Context

tldr-pages: common/exo storage

Revisions (0)

No revisions yet.