
Unfortunately these repositories are very often “frozen” in the sense that package versions are never upgraded. Some Linux distributions now provide s3cmd package in their base or add-ons package repositories. S3cmd 1.0.0 packages in CentOS, RHEL, Fedora, SLES, Debian, Ubuntu In Debian, you can find a release slightly newer than 1.5.0-beta1 in the Experimental repository $ sudo yum -enablerepo epel-testing install s3cmd Please note that EPEL must be installed for this to work. In EPEL (Red Hat Enterprise Linux RHEL, CentOS, etc) you can find a release slightly newer than 1.5.0-beta1 in the updates-testing repository for EPEL 6 and beta/7. $ sudo yum -enablerepo updates-testing install s3cmd In Fedora, you can find a release slightly newer than 1.5.0-beta1 in the updates-testing repository for Fedora 18, 19, 20, and rawhide.

You may wish to use these, rather than each distribution’s primary release repositories. In an effort to get additional users testing the 1.5.0 codebase, in preparation for a final 1.5.0 release, new packages have been published for Fedora, RHEL, CentOS, and Debian. S3cmd 1.5.0 pre-release packages in Fedora, RHEL, CentOS, Debian Or get the s3cmd package from your Linux distribution's own repositories. Note: the following LINUX repositories are NOT up to date.ĭownload the latest version of S3cmd from SourceForge or GitHub To download the files from S3 to the current directory execute aws s3 sync s3://my-bucket/path. It will upload all the files in the current directory to S3. Synchronize files between local file system and S3 aws s3 sync. The following command lists the objects in bucket-name/path aws s3 ls s3://bucket-name/path To list all buckets or their contents, use the aws s3 ls command aws s3 ls To remove a non-empty bucket, you need to include the -force option.

To remove a bucket, use the aws s3 rb command.By default bucket should be empty. Bucket names can contain lowercase letters, numbers, hyphens and periods aws s3 mb s3://bucket-name Bucket names must be unique and should be DNS compliant. Use the aws s3 mb command to create a new bucket. Get the Access key and Secret key from the account page in AWS This section explains how to configure settings that the AWS Command Line Interface uses when interacting with AWS, such as your security credentials and the default region. Using pip you can install aws cli in windows, OS X and Linux sudo pip install awscliĬonfiguring the AWS Command Line Interface Installing aws cli in Ubuntu / Debian Instance sudo apt-get install -y python-dev python-pip
