exo storage metadata add

Description

This command adds key/value metadata to an object.

Example:

exo storage metadata add sos://my-bucket/object-a \
    k1=v1 \
    k2=v2

Notes:

  • Adding an already existing key will overwrite its value.
  • The following characters are not allowed in keys: ( ) < > @ , ; ! : \ \ ’ & " / [ ] ? _ = { }

Supported output template annotations: .Path, .Bucket, .LastModified, .Size, .ACL, .Metadata, .Headers, .URL

exo storage metadata add sos://BUCKET/(OBJECT|PREFIX/) KEY=VALUE... [flags]

Options

OptionDescription
--help, -hhelp for add
--recursive, -radd metadata recursively (with object prefix only)

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands