object¶
Object Storage v1
object create¶
Upload object to container
os object create
[--name <name>]
<container>
<filename> [<filename> ...]
-
--name
<name>
¶ Upload a file and rename it. Can only be used when uploading a single object
-
<container>
Container for new object
-
<filename>
Local filename(s) to upload
object delete¶
Delete object from container
os object delete
<container>
<object> [<object> ...]
-
<container>
Delete object(s) from <container>
-
<object>
Object(s) to delete
object list¶
List objects
os object list
[--prefix <prefix>]
[--delimiter <delimiter>]
[--marker <marker>]
[--end-marker <end-marker>]
[--limit <limit>]
[--long]
[--all]
<container>
-
--prefix
<prefix>
¶ Filter list using <prefix>
-
--delimiter
<delimiter>
¶ Roll up items with <delimiter>
-
--marker
<marker>
¶ Anchor for paging
-
--end-marker
<end-marker>
¶ End anchor for paging
-
--limit
<limit>
¶ Limit number of objects returned
-
--long
¶
List additional fields in output
-
--all
¶
List all objects in <container> (default is 10000)
-
<container>
Container to list
object save¶
Save object locally
os object save
[--file <filename>]
<container>
<object>
-
--file
<filename>
¶ Destination filename (defaults to object name)
-
<container>
Download <object> from <container>
-
<object>
Object to save
object set¶
Set object properties
os object set
[--property <key=value> [...] ]
<container>
<object>
-
--property
<key=value>
¶ Set a property on this object (repeat option to set multiple properties)
-
<container>
Modify <object> from <container>
-
<object>
Object to modify
object show¶
Display object details
os object show
<container>
<object>
-
<container>
Display <object> from <container>
-
<object>
Object to display