Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Jun 25, 2024
1 parent 89ec59e commit 6fdb2ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/linux/s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
S3 is a commonly used storage system.

Recommended practice:

* Use **s5cmd** for CLI operations (examine files, simple upload/download, **make bucket**, ...)

* Use **megfile** for Python operations (batch upload files, read files for dataset, ...)

## AWS CLI
Expand Down Expand Up @@ -85,7 +87,7 @@ export S3_ENDPOINT_URL=https://xxx
Also can use `~/.aws/credentials`:
```
[$PROFILE_NAME_YOU_WANT]
region=us-east-1
region=xxx
aws_access_key_id=xxx
aws_secret_access_key=xxx
s3=
Expand Down Expand Up @@ -149,7 +151,9 @@ megfile cp s3://bucket/file local_file
```

Unfortunately you cannot perform bucket-level operations with `megfile` CLI:

* list all buckets: use `s5cmd ls`.

* create a new bucket: use `s5cmd mb s3://new_bucket`.

### Python API
Expand Down

0 comments on commit 6fdb2ef

Please sign in to comment.