AWS s3cmd Tool

From GM-RKB
(Redirected from s3cmd)
Jump to navigation Jump to search

An AWS s3cmd Tool is a command line tool that for uploading, retrieving and managing data on a cloud storage service that use the S3 protocol (such as AWS S3, Google Cloud Storage, DreamHost DreamObjects)

  • Example(s):
    • s3cmd ls s3://toplvl/nxtlvl/
    • s3cmd put /tmp/file.txt s3://toplvl/nxtlvl/
    • s3cmd get s3://toplvl/nxtlvl/file.txt /tmp/
    • s3cmd mv s3://toplvl/file.txt s3://toplvl/nxtlvl/
    • for file in `s3cmd ls s3://backups/ | grep '2015' | awk '{print $4}'`; do echo $file; s3cmd mv $file s3://backups/2015/; done
  • Counter-Example(s):
  • See: Data Transfer Software.


References

2014

  • https://github.com/s3tools/s3cmd
    • S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3 and other cloud storage service providers that use the S3 protocol, such as Google Cloud Storage or DreamHost DreamObjects. It is best suited for power users who are familiar with command line programs. It is also ideal for batch scripts and automated backup to S3, triggered from cron, etc.

      S3cmd is written in Python. It's an open source project available under GNU Public License v2 (GPLv2) and is free for both commercial and private use. You will only have to pay Amazon for using their storage.

      Lots of features and options have been added to S3cmd, since its very first release in 2008.... we recently counted more than 60 command line options, including multipart uploads, encryption, incremental backup, s3 sync, ACL and Metadata management, S3 bucket size, bucket policies, and more!

       Amazon S3 provides a managed internet-accessible storage service where anyone can store any amount of data and retrieve it later again.

       S3 is a paid service operated by Amazon. Before storing anything into S3 you must sign up for an "AWS" account (where AWS = Amazon Web Services) to obtain a pair of identifiers: Access Key and Secret Key. You will need to give these keys to S3cmd. Think of them as if they were a username and password for your S3 account.