28d95bfc66
With the split of the User Guides, there's no need anymore to have orphan and user_only flags, remove them from the user-guide directory. Only files that keep :orphan: are doc/user-guide/source/hot-guide/hot_advanced_topics.rst and hot_existing_templates.rst since these files are not currently included. Change-Id: I1ac0356d69d8668785f8b1947e8b061731aca747
47 lines
1.1 KiB
ReStructuredText
47 lines
1.1 KiB
ReStructuredText
==============
|
|
Manage objects
|
|
==============
|
|
|
|
- To upload an object to a container, run the following command:
|
|
|
|
.. code::
|
|
|
|
$ swift upload CONTAINER OBJECT_FILENAME
|
|
|
|
To upload in chunks, for large files, run the following command:
|
|
|
|
.. code::
|
|
|
|
$ swift upload -S CHUNK_SIZE CONTAINER OBJECT_FILENAME
|
|
|
|
- To check the status of the object, run the following command:
|
|
|
|
.. code::
|
|
|
|
$ swift stat CONTAINER OBJECT_FILENAME
|
|
|
|
.. code::
|
|
|
|
Account: AUTH_7b5970fbe7724bf9b74c245e77c03bcg
|
|
Container: storage1
|
|
Object: images
|
|
Content Type: application/octet-stream
|
|
Content Length: 211616
|
|
Last Modified: Tue, 18 Feb 2014 00:40:36 GMT
|
|
ETag: 82169623d55158f70a0d720f238ec3ef
|
|
Meta Orig-Filename: images.jpg
|
|
Accept-Ranges: bytes
|
|
X-Timestamp: 1392684036.33306
|
|
|
|
- To list the objects in a container, run the following command:
|
|
|
|
.. code::
|
|
|
|
$ swift list CONTAINER
|
|
|
|
- To download an object from a container, run the following command:
|
|
|
|
.. code::
|
|
|
|
$ swift download CONTAINER OBJECT_FILENAME
|