forked from TrueCloudLab/frostfs-s3-gw
[#165] README: Add "upload of a dir" section
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
22faaadc32
commit
f2018a2d90
1 changed files with 8 additions and 0 deletions
|
@ -392,6 +392,14 @@ $ aws s3api put-object --bucket %BUCKET_NAME --key %OBJECT_KEY --body %FILEPATH
|
||||||
```
|
```
|
||||||
where %OBJECT_KEY is a filename of an object in NeoFS
|
where %OBJECT_KEY is a filename of an object in NeoFS
|
||||||
|
|
||||||
|
##### Upload of a dir
|
||||||
|
|
||||||
|
To upload the dir into a bucket in the NeoFS network, run the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ aws s3 sync %DIRPATH s3://%BUCKET_NAME
|
||||||
|
```
|
||||||
|
|
||||||
#### Download of a file
|
#### Download of a file
|
||||||
|
|
||||||
To download the file from a bucket in the NeoFS Network, execute:
|
To download the file from a bucket in the NeoFS Network, execute:
|
||||||
|
|
Loading…
Reference in a new issue