Schindler Cloud S3cmd Client Mac platform deployment instructions

Source: Internet
Author: User
Tags cos gnupg gpg

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.