Skip to content
Snippets Groups Projects
Commit 92113812 authored by Milan's avatar Milan
Browse files

s3cmd+s5cmd fix

parent 25d95388
No related branches found
No related tags found
No related merge requests found
......@@ -17,11 +17,11 @@ S3cmd is available in the system repositories for CentOS, RHEL and Ubuntu. You c
**On CentOS/RHEL**
sudo yum install s3cmd
sudo yum install s3cmd
**On Ubuntu/Debian**
sudo apt install s3cmd
sudo apt install s3cmd
## Configuration of s3cmd tool
......@@ -34,7 +34,7 @@ Please insert the following lines into the config file located at **/home/user/.
secret_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
host_bucket = s3.clX.du.cesnet.cz
**Host base** and **Host bucket** is S3 endpoint URL, which you received via email together with **Access Key** and **Secret Key**. You should receive it via email during the S3 account creation.
`host_base` and `host_bucket` is S3 endpoint URL, which you received via email together with `access_key` and `secret_key`. You should receive it via email during the S3 account creation.
**Config file with GPG encryption**
......@@ -84,7 +84,7 @@ _Only emptied bucket can be removed!_
**File upload**
s3cmd put file.txt s3://newbucket/
s3cmd put file.txt s3://newbucket/
**Upload of encrypted files**
......
......@@ -18,7 +18,7 @@ Please insert into **.aws/credentials** the folowing options.
multipart_threshold = 128MB
multipart_chunksize = 32MB
**Access Key** and **Secret Key** has been provided by admins while creating the S3 account.
`aws_access_key_id` and `aws_secret_access_key` has been provided by admins while creating the S3 account.
**Listing all buckets**
......@@ -30,6 +30,7 @@ Please insert into **.aws/credentials** the folowing options.
???+ note "How to achieve high transfer speed"
To achieve higher speed for data transfers it is necessary to modify the following parameters, particularly utilize or CPU cores and workers, see below.<br/>
```s5cmd --endpoint-url=https://s3.clX.du.cesnet.cz cp -c=8 -p=5000 /adresar/velky_soubor s3://bucket```
s5cmd --endpoint-url=https://s3.clX.du.cesnet.cz cp -c=8 -p=5000 /directory/big-file s3://bucket
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment