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