From 8f76214518c9b7de62bcbeab948c6d586b9c6c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Gustav=20Baklid?= Date: Sun, 10 Jul 2022 07:19:35 +0200 Subject: [PATCH] s3cmd: add page (#8074) --- pages/common/s3cmd.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/s3cmd.md diff --git a/pages/common/s3cmd.md b/pages/common/s3cmd.md new file mode 100644 index 000000000..99983f8be --- /dev/null +++ b/pages/common/s3cmd.md @@ -0,0 +1,32 @@ +# s3cmd + +> Command line tool and client for uploading, retrieveing and managing data in S3 compatible object storage. +> More information: . + +- Invoke configuration/reconfiguration tool: + +`s3cmd --configure` + +- List Buckets/Folders/Objects: + +`s3cmd ls s3://{{bucket|path/to/file}}` + +- Create Bucket/Folder: + +`s3cmd mb s3://{{bucket}}` + +- Download a specific file from a bucket: + +`s3cmd get s3://{{bucket_name}}/{{path/to/file}} {{path/to/local_file}}` + +- Upload a file to a bucket: + +`s3cmd put {{local_file}} s3://{{bucket}}/{{file}}` + +- Move an object to a specific bucket location: + +`s3cmd mv s3://{{src_bucket}}/{{src_object}} s3://{{dst_bucket}}/{{dst_object}}` + +- Delete a specific object: + +`s3cmd rm s3://{{bucket}}/{{object}}`