From 921138127ef128b9f4c80e4cdd32af31621995c1 Mon Sep 17 00:00:00 2001
From: Milan <milan.danecek@gmail.com>
Date: Wed, 16 Aug 2023 14:51:31 +0200
Subject: [PATCH] s3cmd+s5cmd fix

---
 object-storage/s3cmd.md | 8 ++++----
 object-storage/s5cmd.md | 5 +++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/object-storage/s3cmd.md b/object-storage/s3cmd.md
index 9330e8e..9265743 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 be16733..59525d7 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
 
 
-- 
GitLab