

On CentOS/RHEL and Fedora: sudo dnf install s3cmd On Ubuntu/Debian: sudo apt-get install s3cmd Install Latest s3cmd using Source You can install it using simply executing the following commands on your system. S3cmd is available in default package repositories for the Ubuntu, Debian, Fedora, CentOS, and RHEL Linux systems.

To configure it read next article mount s3 bucket on Linux. We can also mount s3 bucket as local drive in our system using S3FS with FUSE. To install s3cmd on windows servers read article install s3cmd in Windows.

This article will help you to how to use install s3cmd on CentOS, RHEL, OpenSUSE, Ubuntu, Debian & LinuxMint systems and manage s3 buckets via command line in easy steps. If you wish to avail any of our services, please fill the Quick connect form and get in touch with us.S3cmd is a command line utility used for creating s3 buckets, uploading, retrieving and managing data to Amazon s3 storage. To exclude several folders when using AWS S3 Sync, you can use the following command.Īws s3 sync /home/abc/public html/ s3:/abc-test/webroot/ -exclude ‘blog images/* soon/*’Īt Velan, our server support engineers can assist you in installing and configuring Amazon S3 bucket to backup important data on your servers. If you want to download any file from Amazon S3 bucket, you have to just replace the source with the destination in the command. To copy a single file to Amazon S3 bucket, you can use the following commandĪws s3 cp source file s3:/ s3:/abc-test/webroot/ aws s3 cp source file s3:/ s3:/abc-test/webroot/ To synchronize all the files in a folder, you can use aws cli the following commandĪws s3 sync /home/abc/public html/ s3:/abc-test/webroot/ aws s3 sync /home/abc/public html/ aws s3 sync /home/abc/public html You can move them from your Linux server to Amazon S3 bucket and vice versa. Once you have these details, you are ready to move your files. A client such as bash’s aws-cli, Python’s boto library, and so on.Credentials for an IAM user with read-write access to an S3 bucket.You need the following two details in order to communicate with S3.
