From c88d88c8fd6b4a40b97818b7855a137d67b7e696 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 31 Jan 2020 00:08:28 -0800 Subject: [PATCH] Updated AWS CLI with SeaweedFS (markdown) --- AWS-CLI-with-SeaweedFS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AWS-CLI-with-SeaweedFS.md b/AWS-CLI-with-SeaweedFS.md index 6032912..cc831f9 100644 --- a/AWS-CLI-with-SeaweedFS.md +++ b/AWS-CLI-with-SeaweedFS.md @@ -37,6 +37,10 @@ make_bucket: newbucket3 $ aws --endpoint-url http://localhost:8333 s3 cp /etc/passwd s3://newbucket3 upload: ../../../../../etc/passwd to s3://newbucket3/passwd +# copy an object +$ aws --endpoint-url http://localhost:8333 s3 cp s3://newbucket3/passwd s3://newbucket3/passwd.txt +copy: s3://newbucket3/passwd to s3://newbucket3/passwd.txt + # remove an object $ aws --endpoint-url http://localhost:8333 s3 rm s3://newbucket3/passd delete: s3://newbucket3/passd