Oneself according to document collation under, here write down, lest other brothers detours.
1 Download the latest S3cmd code
Https://github.com/s3tools/s3cmd/archive/master.zip
2 Decompression
3 Entering the source directory
#cd S3cmd-master
4 Installation
#sudo python setup.py Install
5 installing GNUPG, encrypt plug-ins
#sudo Port Install GnuPG
6 Installing the Python file plugin
#sudo Port Install File
7 Configuration of running S3cmd
#s3cmd-configure
Enter your appkey,appsec.
Enter your GPG directory, mine is in/OPT/LOCAL/BIN/GPG
Https Select No
Other default
Save, do not test, this time the test must not pass
8 Edit the. s3cfg file in the user's root directory
#vi ~/.s3cfg
Modify the following parameters
Host_base = cos.speedycloud.org
Host_bucket =% (bucket) s.cos.speedycloud.org
Proxy_host =
Proxy_port = 0
Signature_v2=true
Save after the modification is complete and run again S3cmd-configure
The parameters are unchanged, saved, selected for testing, and should be successful at this time.
9 Testing
List all Buckets
#s3cmd ls
Create Buckets
#s3cmd MB S3://decwang-bucket
Delete Empty Buckets
#s3cmd RB S3://decwang-bucket
List the contents of the bucket (if you look at subdirectories, you need to add/, step up in the end)
#s3cmd ls s3://decwang-bucket/
Upload individual files to the specified directory and open to everyone
#s3cmd put-acl-public file.txt S3://decwang-bucket/file.txt
deleting files
#s3cmd del S3://decwang-bucket/file.txt
Uploading files in bulk
#s3cmd put-recursive-acl-public./*.apk s3://decwang-bucket/apk/
Schindler Cloud S3cmd Client Mac platform deployment instructions