Over a million developers have joined DZone.

Using s3cmd for Working with AWS S3 Buckets

· Cloud Zone

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

When you make use of (some of the) Amazon services there is a big chance S3 is one of them for the storage of files, be it temporary or more permanent. When you are using this service of AWS and you want to combine this with scripting possibilities you should have a look at the s3cmd library.
I installed the tool on my Mac and use it quite often (automatic backups of certain directories for instance). It makes working with S3 buckets in the Terminal easy. The installation is straightforward although for a Mac you might need to install a PGP tool. For a step by step installation see this great post. After finishing this you are ready to play with AWS S3 from your Mac.

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.

Topics:

Published at DZone with permission of Pascal Alma , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}