Skip to content
Snippets Groups Projects
Commit 84c9d1bc authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update s3cmd.md

parent bbf30463
No related branches found
No related tags found
No related merge requests found
Pipeline #35175 passed with warnings
# s3cmd # s3cmd
S3cmd is a command-line tool for managing data in Amazon Simple Storage Service (S3). It is a free and open-source tool that is available for Linux, macOS, and Windows. S3cmd is a command-line tool for managing data in Amazon Simple Storage Service (S3). It is a free and open-source tool that is available for Linux, macOS, and Windows.
For more information, see [https://docs.e-infra.cz/storage/object-storage/s3cmd/][a] For more information, see [https://docs.e-infra.cz/storage/object-storage/s3cmd/][a].
We recommend using the S3cmd tool already installed on Karolina. We recommend using the S3cmd tool already installed on Karolina.
## How to Load Modules: ## How to Load Modules:
To see loaded modules, use: To see loaded modules, use:
...@@ -24,19 +24,19 @@ To see module info, use: ...@@ -24,19 +24,19 @@ To see module info, use:
``` ```
ml spider s3cmd ml spider s3cmd
``` ```
For more information on how to work with modules, see For more information on how to work with modules, see
[https://docs.it4i.cz/software/modules/lmod/][1]. [https://docs.it4i.cz/software/modules/lmod/][1].
## Configuration ## Configuration
The s3cmd configuration file is named `.s3cfg` and it is located in the user's home directory, e.g. `/home/username/($HOME)`. The s3cmd configuration file is named `.s3cfg` and it is located in the user's home directory, e.g. `/home/username/($HOME)`.
The configuration file has to be created first: The configuration file has to be created first:
``` ```
s3cmd --configure s3cmd --configure
``` ```
For configuration steps, follow the [e-INFRA CZ guide][b]. For configuration steps, follow the [e-INFRA CZ guide][b].
...@@ -50,6 +50,7 @@ Error when creating bucket: ...@@ -50,6 +50,7 @@ Error when creating bucket:
``` ```
ERROR: S3 error: 400 (InvalidLocationConstraint): The specified location-constraint is not valid ERROR: S3 error: 400 (InvalidLocationConstraint): The specified location-constraint is not valid
``` ```
Solution: set location: Solution: set location:
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment