diff --git a/object-storage/s3cmd.md b/object-storage/s3cmd.md index 9330e8e64e741c27225467882c0cf48b935e441b..926574309f5d6cbe49e8648b0efb44e237db856e 100644 --- a/object-storage/s3cmd.md +++ b/object-storage/s3cmd.md @@ -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** diff --git a/object-storage/s5cmd.md b/object-storage/s5cmd.md index be167331d6dfac1ff6ae27f7d3a5078e2c78e59a..59525d7892307efe6588d4fd17839684beddc6d3 100644 --- a/object-storage/s5cmd.md +++ b/object-storage/s5cmd.md @@ -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